SSOCredentials (src/sso_credentials.dart)

auth0-flutter · auth0_flutter_platform_interface/lib/src/sso_credentials.dart · dart · Apache-2.0
auth

Data class for native-to-web SSO credentials used to establish authenticated web sessions.

// Source: https://github.com/auth0/auth0-flutter | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/// Authentication artifacts used to establish a web session from a native
/// application context (Native to Web SSO).
///
/// Obtain a [SSOCredentials] instance via
/// `CredentialsManager.ssoCredentials()`.
///
/// The [sessionTransferToken] is:
/// - **Short-lived**: expires after approximately 1 minute
/// - **Single-use**: can only be used once to establish a web session
/// - **Secure**: can be bound to the user's device through IP address or ASN
///
/// Pass the token to your web application as a `session_transfer_token`
/// query parameter, or inject it as a cookie into a Web

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key