fetch

abstract suspend fun fetch(id: ObjectId): ApiKey?
abstract suspend fun fetch(id: BsonObjectId): ApiKey?

Fetches a specific user API key associated with the user.

Parameters

id

the id of the key to fetch.

Throws

if a non existing API key is fetched.

for other failures that can happen when communicating with App Services. See AppException for details.