Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / auth / AuthSessionFlow

Type Alias: AuthSessionFlow

AuthSessionFlow = "pkce" | "implicit" | "client-credentials"

Defined in: packages/b2c-tooling-sdk/src/auth/session-store.ts:46

The auth flow that produced a stored session.

  • pkce: Authorization Code + PKCE; has refresh tokens.
  • implicit: legacy implicit grant; no refresh token.
  • client-credentials: non-interactive auth client; no refresh, no stored secret. When the access token expires, the user re-runs auth client --client-id <id> --client-secret <secret>.

Released under the Apache-2.0 License.