UserManagement
interface UserManagement
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 used for wrapping parameters used for searching Users
Link copied to clipboard
data class UpdateParams @JvmOverloads constructor(val name: NameData? = null, val untrustedMetadata: Map<String, Any>? = null)
Data class used for wrapping parameters used with User updates
Properties
Functions
Link copied to clipboard
abstract fun deleteFactor(factor: UserAuthenticationFactor, callback: (DeleteFactorResponse) -> Unit)
Deletes a UserAuthenticationFactor from the currently authenticated user
Link copied to clipboard
abstract fun deleteFactorCompletable(factor: UserAuthenticationFactor): CompletableFuture<DeleteFactorResponse>
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
Fetches a user from the current session
Link copied to clipboard
Searches for the specified user
Link copied to clipboard
abstract fun searchCompletable(params: UserManagement.SearchParams): CompletableFuture<SearchUserResponse>
Searches for the specified user
Link copied to clipboard
Updates the currently authenticated user
Link copied to clipboard
abstract fun updateCompletable(params: UserManagement.UpdateParams): CompletableFuture<UpdateUserResponse>
Updates the currently authenticated user