User Management
The UserManagement interface provides methods for retrieving an authenticated user and deleting authentication factors from an authenticated user.
Types
Link copied to clipboard
data class UpdateParams(val name: NameData? = null, val untrustedMetadata: Map<String, Any>? = null)
Content copied to clipboard
Data class used for wrapping parameters used with User updates
Functions
Link copied to clipboard
abstract suspend fun deleteFactor(factor: UserAuthenticationFactor): DeleteFactorResponse
Content copied to clipboard
abstract fun deleteFactor(factor: UserAuthenticationFactor, callback: (DeleteFactorResponse) -> Unit)
Content copied to clipboard
Deletes a UserAuthenticationFactor from the currently authenticated user
Link copied to clipboard
Get user from memory without making a network call
Link copied to clipboard
Fetches a user from the current session
Link copied to clipboard
abstract suspend fun update(params: UserManagement.UpdateParams): UpdateUserResponse
Content copied to clipboard
abstract fun update(params: UserManagement.UpdateParams, callback: (UpdateUserResponse) -> Unit)
Content copied to clipboard
Updates the currently authenticated user