Udostępnij za pośrednictwem


UserToken Klasa

Definicja

Operacje userToken.

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
Dziedziczenie
UserToken
Implementuje
IUserToken Microsoft.Rest.IServiceOperations<OAuthClient>

Konstruktory

UserToken(OAuthClient)

Inicjuje nowe wystąpienie klasy UserToken.

Właściwości

Client

Pobiera odwołanie do elementu OAuthClient.

Metody

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

Uzyskiwanie tokenów usługi AAD za pomocą komunikatów HTTP.

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

Uzyskiwanie stanu tokenu za pomocą komunikatu HTTP.

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

Uzyskiwanie tokenu za pomocą komunikatu HTTP.

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

Wyloguj się przy użyciu komunikatu HTTP.

Metody rozszerzania

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

Pobierz token usługi AAD.

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

Pobierz token.

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

Uzyskaj stan tokenu.

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

Wyloguj się.

Dotyczy