B2BDiscoveryPasswordsClient
Password authentication and reset within the discovery flow (before an org is selected).
Functions
Authenticates an email and password credential during the cross-org discovery flow, before an organization is selected. Calls the POST /sdk/v1/b2b/passwords/discovery/authenticate endpoint. Returns discovered organizations and an intermediate session token; call B2BDiscoveryIntermediateSessionsClient.exchange to establish a full member session.
Completes the password reset in the cross-org discovery flow using the token from the reset email. Calls the POST /sdk/v1/b2b/passwords/discovery/reset endpoint. Retrieves the PKCE code verifier stored during the resetStart call.
Sends a password reset email to the specified address for use in the cross-org discovery flow. Calls the POST /sdk/v1/b2b/passwords/discovery/reset/start endpoint. Stores a PKCE code challenge for verification when reset is called.