Variable AccessTokenResponseSchemaConst

AccessTokenResponseSchema: TObject<{
    access_token: TString;
    expires_in: TOptional<TNumber>;
    refresh_token: TOptional<TString>;
    scope: TOptional<TString>;
    token_type: TOptional<TString>;
}> = ...

A schema for validating an access token returned from a compliant oauth provider.

Type declaration

  • access_token: TString
  • expires_in: TOptional<TNumber>
  • refresh_token: TOptional<TString>
  • scope: TOptional<TString>
  • token_type: TOptional<TString>