Definindo valor padrao do Nome do Cabeçalho de Autenticacao nas Requests
This commit is contained in:
parent
53c3fbffe6
commit
241726ed2f
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,7 @@ export interface LhispOauthClientConstructorParams {
|
|||
senhaCertificado?: string;
|
||||
authScope?: string;
|
||||
authHeaderName?: string;
|
||||
tokenHeaderName?: string;
|
||||
headers?: Headers;
|
||||
grantType?: GrantType;
|
||||
authContentType?: ContentType;
|
||||
|
@ -43,4 +44,5 @@ export enum ContentType {
|
|||
|
||||
export const defaultGrantType = GrantType.CLIENT_CREDENTIALS;
|
||||
export const defaultAuthContentType = ContentType.APPLICATION_JSON;
|
||||
export const defaultAuthHeaderName = 'Authorization';
|
||||
export const defaultAuthHeaderName = 'Authorization';
|
||||
export const defaultTokenHeaderName = 'Authorization';
|
Loading…
Add table
Add a link
Reference in a new issue