StytchB2BClient
The StytchB2BClient object is your entrypoint to the Stytch B2B SDK and is how you interact with all of our supported authentication products.
Properties
Exposes an instance of the B2BMagicLinks interface whicih provides methods for sending and authenticating users with Email Magic Links.
Exposes an instance of the Organization interface which provides methods for retrieving the current authenticated user's organization.
Exposes an instance of the RecoveryCodes interface which provides methods for getting, rotating, and recovering recovery codes
Exposes an instance of the SearchManager interface which provides methods for search organizations and members
Exposes an instance of the B2BSessions interface which provides methods for authenticating, updating, or revoking sessions, and properties to retrieve the existing session token (opaque or JWT).
Functions
Retrieve the most recently created PKCE code pair from the device, if available
Call this method to parse out and authenticate deeplinks that your application receives. The currently supported deeplink types are: B2B Email Magic Links.