Variable AnyAccessTokenSchemaConst
AnyAccessTokenSchema: TUnion<
[
TObject<
{
access_token: TString;
expires_in: TOptional<TNumber>;
refresh_token: TOptional<TString>;
scope: TOptional<TString>;
token_type: TOptional<TString>;
},
>,
TObject<
{
accessToken: TString;
expiresIn: TOptional<TNumber>;
refreshToken: TOptional<TString>;
scope: TOptional<TString>;
tokenType: TOptional<TString>;
},
>,
],
> = ...
A convenience schema for validating raw access token input in either AccessTokenSchema or OAuthTokenSchema form.