B2BPasswordsClient

B2B password-based authentication methods.

Properties

Link copied to clipboard

Email password reset methods.

Link copied to clipboard

Existing-password reset methods.

Link copied to clipboard

Session-based password reset methods.

Functions

Link copied to clipboard
abstract suspend fun authenticate(request: IB2BPasswordAuthenticateParameters): B2BPasswordAuthenticateResponse

Authenticates a member with their email address and password, establishing a member session. Calls the POST /sdk/v1/b2b/passwords/authenticate endpoint. Automatically includes the intermediate session token if one is present.

Link copied to clipboard
abstract suspend fun strengthCheck(request: IB2BPasswordStrengthCheckParameters): B2BPasswordStrengthCheckResponse

Checks the strength of a password and returns a score with actionable feedback. Calls the POST /sdk/v1/b2b/passwords/strength_check endpoint. Does not require a session.