Skip to content

Commit

Permalink
Allow the authress custom domain to be optional in the service client…
Browse files Browse the repository at this point in the history
… token provider.
  • Loading branch information
wparad committed Nov 8, 2022
1 parent c78f01a commit 559af14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1342,10 +1342,10 @@ export class ServiceClientTokenProvider {
* @constructor
* @summary Create an instance of the service client token provider. Used to call the Authress API, when the user's token does not contain the necessary permissions.
* @param {string} accessKey The service client access key, can be generated from https://authress.io/app/#/manage?focus=clients
* @param {string} authressCustomDomain The custom domain specified in your account under domain settings. What should my url be? => https://authress.io/app/#/setup?focus=domain
* @param {string} [authressCustomDomain] The custom domain specified in your account under domain settings. What should my url be? => https://authress.io/app/#/setup?focus=domain
*/
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
constructor(accessKey: string, authressCustomDomain: string);
constructor(accessKey: string, authressCustomDomain?: string);

/**
* @summary Generate a token from this token provider. In most cases should only be used by this library itself
Expand Down

0 comments on commit 559af14

Please sign in to comment.