UserToken Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Operaciones de 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
- Herencia
-
UserToken
- Implementaciones
-
IUserToken Microsoft.Rest.IServiceOperations<OAuthClient>
Constructores
| Nombre | Description |
|---|---|
| UserToken(OAuthClient) |
Inicializa una nueva instancia de la clase UserToken. |
Propiedades
| Nombre | Description |
|---|---|
| Client |
Recibe una referencia al OAuthClient. |
Métodos
| Nombre | Description |
|---|---|
| GetAadTokensWithHttpMessagesAsync(String, String, AadResourceUrls, String, Dictionary<String,List<String>>, CancellationToken) |
Consigue tokens AAD con mensajes HTTP. |
| GetTokenStatusWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken) |
Obtén el estado del token con el mensaje HTTP. |
| GetTokenWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken) |
Consigue el token con mensaje HTTP. |
| SignOutWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken) |
Cierra sesión con un mensaje HTTP. |
Métodos de extensión
| Nombre | Description |
|---|---|
| GetAadTokensAsync(IUserToken, String, String, AadResourceUrls, String, CancellationToken) |
Consigue el token AAD. |
| GetTokenAsync(IUserToken, String, String, String, String, CancellationToken) |
Consigue Token. |
| GetTokenStatusAsync(IUserToken, String, String, String, CancellationToken) |
Obtén el estado del token. |
| SignOutAsync(IUserToken, String, String, String, CancellationToken) |
Cerrar sesión. |