OAuthResult

View Source

Summary

Normalized result returned by OAuth and OIDC callback handlers.

Signature

interface OAuthResult<profile, provider, tokens> {
  account: OAuthAccount<provider>;
  profile: profile;
  provider: provider;
  tokens: tokens;
}

Properties

account

Stable provider-backed account identity for the authenticated user.

profile

Normalized profile data returned by the provider.

provider

Provider name that completed the callback flow.

tokens

Tokens returned by the provider for the completed authorization flow.