Setu-TS
    Preparing search index...

    Interface ProviderTokens

    The tokens a provider returned from its token endpoint.

    Handed to SignInProviderBase.onTokens and stored nowhere else: an access token can run to kilobytes, and past the session cookie's 4096-byte budget the session plugin throws at commit, which would break the sign-in rather than the feature that wanted the token.

    0.8.0

    interface ProviderTokens {
        accessToken: string;
        expiresIn?: number;
        idToken?: string;
        refreshToken?: string;
        scope?: string;
        tokenType?: string;
    }
    Index
    accessToken: string

    The access token.

    expiresIn?: number

    Lifetime in seconds, as the provider reported it.

    idToken?: string

    The ID token; present for an oidc provider, absent for oauth2.

    refreshToken?: string

    The refresh token, when issued.

    scope?: string

    The scope the provider actually granted.

    tokenType?: string

    The provider's token type, usually Bearer.