fix: make authData optional

This commit is contained in:
Leandro Costa 2023-11-27 19:51:14 -03:00
parent 2648001bc4
commit 28ae4512f4

View file

@ -18,7 +18,7 @@ export interface LhispOauthClientConstructorParams {
authHeaders?: Headers; authHeaders?: Headers;
grantType?: string; grantType?: string;
authContentType?: ContentType; authContentType?: ContentType;
authData: Record<string, string>; authData?: Record<string, string>;
sendAuthCredentialsOnRequestBody?: boolean; sendAuthCredentialsOnRequestBody?: boolean;
formatAccessToken?: (accessToken?: AccessToken) => string; formatAccessToken?: (accessToken?: AccessToken) => string;
debug?: boolean; debug?: boolean;