- tokensPlusInfo(
config: TokensPlusInfoConfig,
): Promise<
| { error: Error; value?: undefined }
| {
error?: undefined;
value: {
access_token: string;
access_token_expires_in: number;
client_id: string;
issuer: string;
jti: string;
kid: string;
me: string;
redirect_uri: string;
refresh_token: string;
refresh_token_expires_at: number;
scope: string;
};
},
> Returns Promise<
| { error: Error; value?: undefined }
| {
error?: undefined;
value: {
access_token: string;
access_token_expires_in: number;
client_id: string;
issuer: string;
jti: string;
kid: string;
me: string;
redirect_uri: string;
refresh_token: string;
refresh_token_expires_at: number;
scope: string;
};
},
>
Issues an access token, a refresh token, and returns some additional information about them.
This function returns: