Skip to content

Commit

Permalink
Enable token provider to be explicitly a ServiceClientTokenProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad committed Nov 8, 2022
1 parent 559af14 commit 515e748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ export class AuthressClient {
* @param {Function<string>} [tokenProvider] An optional {@link ServiceClientTokenProvider} which is used to generate an Authress client with the service clients permissions.
*/
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
constructor(settings: AuthressSettings, tokenProvider: () => string);
constructor(settings: AuthressSettings, tokenProvider: () => string | ServiceClientTokenProvider);

/**
* @summary The AccessRecords api
Expand Down

0 comments on commit 515e748

Please sign in to comment.