@betha-plataforma/oauth
Version:
Biblioteca JavaScript para lidar com o fluxo do OAuth 2.0 em aplicações Web, com suporte a TypeScript.
16 lines (15 loc) • 415 B
TypeScript
export interface AuthorizeRequest {
client_id: string;
redirect_uri: string;
response_type: 'code' | 'token';
scope: string;
code_challenge?: string;
code_challenge_method?: string;
prompt?: 'none' | 'login' | 'consent' | 'select_account';
silent?: boolean;
state?: string;
access_mode?: string;
context_entity?: string;
context_config?: string;
sso?: 'govbr';
}