Package com.stytch.sdk.b2b.member
The Member.kt interface provides methods for retrieving the current authenticated user.
You can choose to get the local representation of the user, without making a network request, with the StytchB2BClient.member.getSync() method.
If you want to get the freshest representation of the user from the Stytch servers, use the StytchB2BClient.member.get() method.
Call the StytchB2BClient.member.onChange() method with a callback to be triggered on changes to the underlying member. Alternatively, you can listen directly to the flow using the StytchB2BClient.member.onChange StateFlow.
See: Description
-
Class Summary Class Description UpdateParams Data class used for wrapping parameters used with Member updates Password Represents a Password associated with a Stytch Member MemberAuthenticationFactor A MemberAuthenticationFactor represents a primary authentication factor associated with a Stytch Member -
Interface Summary Interface Description Member The Member interface provides methods for retrieving and updating the current authenticated member. -
Object Summary Object Description MfaPhoneNumber Represents an MFA Phone Number associated with a Stytch Member MfaTOTP Represents an MFA TOTP associated with a Stytch Member