APIKeyAuth

  • Creates a user API key that can be used to authenticate as the current user. @param name The name of the API key to be created. @completion A completion that eventually return Result.success(UserAPIKey) or Result.failure(Error).

  • Fetches a user API key associated with the current user. @param objectId The ObjectId of the API key to fetch. @completion A completion that eventually return Result.success(UserAPIKey) or Result.failure(Error).

  • Fetches the user API keys associated with the current user. @completion A completion that eventually return Result.success([UserAPIKey]) or Result.failure(Error).