Sdílet prostřednictvím


UserToken Třída

Definice

Operace 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
Dědičnost
UserToken
Implementuje
IUserToken Microsoft.Rest.IServiceOperations<OAuthClient>

Konstruktory

UserToken(OAuthClient)

Inicializuje novou instanci UserToken třídy.

Vlastnosti

Client

Získá odkaz na OAuthClient.

Metody

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

Získání tokenů AAD pomocí zpráv HTTP

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

Získání stavu tokenu pomocí zprávy HTTP

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

Získejte token se zprávou HTTP.

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

Odhlaste se pomocí zprávy HTTP.

Metody rozšíření

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

Získejte token AAD.

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

Získejte token.

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

Získání stavu tokenu

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

Odhlaste se.

Platí pro