Share via


UserToken Class

Definition

UserToken operations.

public class UserToken : Microsoft.Bot.Connector.IUserToken, Microsoft.Rest.IServiceOperations<Microsoft.Bot.Connector.OAuthClient>
type UserToken = class
    interface IServiceOperations<OAuthClient>
    interface IUserToken
Public Class UserToken
Implements IServiceOperations(Of OAuthClient), IUserToken
Inheritance
UserToken
Implements
IUserToken Microsoft.Rest.IServiceOperations<OAuthClient>

Constructors

UserToken(OAuthClient)

Initializes a new instance of the UserToken class.

Properties

Client

Gets a reference to the OAuthClient.

Methods

GetAadTokensWithHttpMessagesAsync(String, String, AadResourceUrls, String, Dictionary<String,List<String>>, CancellationToken)

Get AAD Tokens with HTTP messages.

GetTokenStatusWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

Get Token Status with HTTP message.

GetTokenWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)

Get token with HTTP message.

SignOutWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

Sign out with HTTP message.

Extension Methods

GetAadTokensAsync(IUserToken, String, String, AadResourceUrls, String, CancellationToken)

Get AAD Token.

GetTokenAsync(IUserToken, String, String, String, String, CancellationToken)

Get Token.

GetTokenStatusAsync(IUserToken, String, String, String, CancellationToken)

Get Token Status.

SignOutAsync(IUserToken, String, String, String, CancellationToken)

Sign out.

Applies to