OAuth2 Token Response
OAuth 2.0 token endpoint response with access token, type, and optional refresh token.
auth
Install
$ npx shadcn@latest add @open-types/oauth2-token-response
Source
export interface OAuth2TokenResponse {
access_token: string;
token_type: string;
expires_in?: number;
refresh_token?: string;
scope?: string;
}
export interface OAuth2TokenResponse {
access_token: string;
token_type: string;
expires_in?: number;
refresh_token?: string;
scope?: string;
}