Member
interface Member
The Member interface provides methods for retrieving and updating the current authenticated member.
Types
Link copied to clipboard
data class UpdateParams @JvmOverloads constructor(val name: String? = null, val untrustedMetadata: Map<String, Any>? = null, val mfaEnrolled: Boolean? = null, val mfaPhoneNumber: String? = null, val defaultMfaMethod: MfaMethod? = null)
Data class used for wrapping parameters used with Member updates
Properties
Functions
Link copied to clipboard
abstract suspend fun deleteFactor(factor: MemberAuthenticationFactor): DeleteMemberAuthenticationFactorResponse
abstract fun deleteFactor(factor: MemberAuthenticationFactor, callback: (DeleteMemberAuthenticationFactorResponse) -> Unit)
Deletes a MemberAuthenticationFactor from the currently authenticated member
Link copied to clipboard
abstract fun deleteFactorCompletable(factor: MemberAuthenticationFactor): CompletableFuture<DeleteMemberAuthenticationFactorResponse>
Deletes a MemberAuthenticationFactor from the currently authenticated member
Link copied to clipboard
Wraps Stytch’s organization/members/me endpoint.
Link copied to clipboard
Wraps Stytch’s organization/members/me endpoint.
Link copied to clipboard
Updates the currently authenticated member
Link copied to clipboard
abstract fun updateCompletable(params: Member.UpdateParams): CompletableFuture<UpdateMemberResponse>
Updates the currently authenticated member