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;
grantType?: string;
authContentType?: ContentType;
authData: Record<string, string>;
authData?: Record<string, string>;
sendAuthCredentialsOnRequestBody?: boolean;
formatAccessToken?: (accessToken?: AccessToken) => string;
debug?: boolean;