AuthenticationApi

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard

Authenticates a user by name.

Link copied to clipboard

Extension function for the authenticateUserByName operation that accepts the username and password directly

Link copied to clipboard

Authenticates a user with quick connect.

Link copied to clipboard

Extension function for the authenticateWithQuickConnect operation that accepts the secret directly

Link copied to clipboard
suspend fun authorizeQuickConnect(code: String, userId: UUID? = null): Response<Boolean>

Authorizes a pending quick connect request.

Link copied to clipboard
suspend fun createKey(app: String): Response<Unit>

Create a new api key.

Link copied to clipboard

Initiates the forgot password process for a local user.

Link copied to clipboard

Redeems a forgot password pin.

Link copied to clipboard

Get all auth providers.

Link copied to clipboard

Get all keys.

Link copied to clipboard

Get all password reset providers.

Link copied to clipboard

Gets the current quick connect state.

Link copied to clipboard

Attempts to retrieve authentication information.

Link copied to clipboard

Initiate a new quick connect request.

Link copied to clipboard
suspend fun revokeKey(key: String): Response<Unit>

Remove an api key.