@wildix/auth-utils > ServiceTokenProvider > (constructor)
ServiceTokenProvider.(constructor)
Constructs a new instance of the ServiceTokenProvider
class
Signature:
constructor(clientId: string, clientSecret: string, scope?: ServiceTokenScope, env?: ServiceTokenEnv);
Parameters
Parameter | Type | Description |
---|---|---|
clientId | string | |
clientSecret | string | |
scope | (Optional) | |
env | (Optional) |