RestOAuthClient Classe
- java.
lang. Object - com.
microsoft. bot. restclient. ServiceClient - com.
microsoft. bot. connector. rest. RestOAuthClient
- com.
- com.
Implementações
public class RestOAuthClient
extends ServiceClient
implements OAuthClient
Cliente Rest OAuth.
Resumo do Construtor
| Construtor | Description |
|---|---|
| RestOAuthClient(RestClient restClient) |
Inicializa uma instância do conector |
| RestOAuthClient(String baseUrl, ServiceClientCredentials credentials) |
Inicializa uma instância do conector |
Resumo do método
| Modificador e tipo | Método e descrição |
|---|---|
|
Bot |
getBotSignIn()
Obtém o objeto Bot |
|
User |
getUserToken()
Obtém o objeto Tokens de |
| protected void |
initialize()
Inicialização pós-construção. |
Métodos herdados de ServiceClient
Métodos herdados de java.lang.Object
Detalhes do construtor
RestOAuthClient
public RestOAuthClient(RestClient restClient)
Inicializa uma instância do cliente ConnectorClient.
Parâmetros:
RestOAuthClient
public RestOAuthClient(String baseUrl, ServiceClientCredentials credentials)
Inicializa uma instância do cliente ConnectorClient.
Parâmetros:
Detalhes do método
getBotSignIn
public BotSignIn getBotSignIn()
Obtém o objeto BotSignIns para acessar suas operações.
Retornos:
getUserToken
public UserToken getUserToken()
Obtém o objeto UserTokens para acessar suas operações.
Retornos:
initialize
protected void initialize()
Inicialização pós-construção.