Creates a new instance of UserTokenClient.
The Microsoft application ID.
Creates a new instance of UserTokenClient.
The axios instance.
Exchanges the token.
The user ID.
The connection name.
The channel ID.
The token exchange request.
A promise that resolves to the exchanged token.
Gets the AAD tokens.
The user ID.
The connection name.
The channel ID.
The resource URLs.
A promise that resolves to the AAD tokens.
Gets the sign-in resource.
The application ID.
The connection name.
The conversation reference.
OptionalrelatesTo: ConversationReferenceOptional. The related conversation reference.
A promise that resolves to the signing resource.
Gets the token or sign-in resource.
The user ID.
The connection name.
The channel ID.
The conversation reference.
The related conversation reference.
The code.
The final redirect URL.
The forward URL.
A promise that resolves to the token or sign-in resource response.
Gets the token status.
The user ID.
The channel ID.
The optional include parameter.
A promise that resolves to the token status.
Gets the user token.
The connection name.
The channel ID.
The user ID.
Optionalcode: stringThe optional code.
A promise that resolves to the user token.
Signs the user out.
The user ID.
The connection name.
The channel ID.
A promise that resolves when the sign-out operation is complete.
StaticcreateCreates a new instance of UserTokenClient with authentication.
The base URL for the API.
The authentication provider.
The scope for the authentication token.
Optionalheaders: HeaderPropagationCollectionOptional headers to propagate in the request.
A new instance of ConnectorClient.
Client for managing user tokens.