OAuthClient Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Uma classe cliente OAuth que implementa IOAuthClient.
public class OAuthClient : Microsoft.Rest.ServiceClient<Microsoft.Bot.Connector.OAuthClient>, IDisposable, Microsoft.Bot.Connector.IOAuthClient
type OAuthClient = class
inherit ServiceClient<OAuthClient>
interface IOAuthClient
interface IDisposable
Public Class OAuthClient
Inherits ServiceClient(Of OAuthClient)
Implements IDisposable, IOAuthClient
- Herança
-
Microsoft.Rest.ServiceClient<OAuthClient>OAuthClient
- Implementações
Construtores
Propriedades
| Nome | Description |
|---|---|
| BaseUri |
Obtém ou configura o URI base do serviço. |
| BotSignIn |
Recebe o IBotSignIn. |
| Credentials |
Obtém credenciais de assinatura que identificam de forma única a assinatura do cliente. |
| DeserializationSettings |
Recebe as configurações de desserialização do JSON. |
| OAuthApi |
Obsoleto.
Uma classe cliente OAuth que implementa IOAuthClient. |
| OAuthApiEx |
Uma classe cliente OAuth que implementa IOAuthClient. |
| SerializationSettings |
Recebe configurações de serialização json. |
| UserToken |
Recebe o IUserToken. |
Métodos
| Nome | Description |
|---|---|
| ExchangeAsyncWithHttpMessagesAsync(String, String, String, TokenExchangeRequest, Dictionary<String,List<String>>, CancellationToken) |
Exchange com mensagem HTTP. |
| GetSignInResourceWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken) |
Obtenha recurso de login com mensagem HTTP. |
Métodos de Extensão
| Nome | Description |
|---|---|
| ExchangeAsyncAsync(OAuthClient, String, String, String, TokenExchangeRequest, CancellationToken) |
Exchange. |
| GetOAuthApiEx(IOAuthClient) |
Uma classe cliente OAuth que implementa IOAuthClient. |
| GetSignInResourceAsync(OAuthClient, String, String, String, String, CancellationToken) |
Obtenha recurso de login com mensagem HTTP. |