Interface ExchangeNativeSocialOptions

Options for obtaining user tokens from an external provider's token

interface ExchangeNativeSocialOptions {
    audience?: string;
    scope?: string;
    subjectToken: string;
    subjectTokenType: string;
    userProfile?: object;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

audience?: string

The API audience to request

scope?: string

The scopes requested for the issued tokens. e.g. openid profile

subjectToken: string

The token returned by the native social authentication solution

subjectTokenType: string

The identifier that indicates the native social authentication solution

userProfile?: object

Additional profile attributes to set or override, only on select native social authentication solutions