Variable createTokenForClientCredentials
createTokenForClientCredentials: (
clientId: string,
clientSecret: string,
scope?: string[],
audience?: string,
userContext?: Record<string, any>,
) => Promise<ErrorOAuth2 | TokenInfo> = Wrapper.createTokenForClientCredentials
Type declaration
- (
clientId: string,
clientSecret: string,
scope?: string[],
audience?: string,
userContext?: Record<string, any>,
): Promise<ErrorOAuth2 | TokenInfo> Parameters
- clientId: string
- clientSecret: string
Optional
scope: string[]Optional
audience: stringOptional
userContext: Record<string, any>
Returns Promise<ErrorOAuth2 | TokenInfo>