Type of authentication grant
OptionalemailUser email (required for password grant)
OptionalpasswordUser password (required for password grant)
Optionalclient_OAuth client ID (required for client grant)
Optionalclient_OAuth client secret (required for client grant)
Optionalrefresh_Refresh token (required for refresh grant)
OptionalcodeAuthorization code (for OAuth code exchange)
Optionalcode_PKCE code verifier (for OAuth PKCE flow)
Authentication interface for the Mosaia SDK
This interface defines the authentication options available when initializing the Mosaia SDK client. It includes authentication settings, API endpoints, and optional context parameters.
Example
Example