RestOAuthClient Class
- java.
lang. Object - com.
microsoft. bot. restclient. ServiceClient - com.
microsoft. bot. connector. rest. RestOAuthClient
- com.
- com.
Implements
public class RestOAuthClient
extends ServiceClient
implements OAuthClient
Rest OAuth client.
Constructor Summary
| Constructor | Description |
|---|---|
| RestOAuthClient(RestClient restClient) |
Initializes an instance of Connector |
| RestOAuthClient(String baseUrl, ServiceClientCredentials credentials) |
Initializes an instance of Connector |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Bot |
getBotSignIn()
Gets the Bot |
|
User |
getUserToken()
Gets the User |
| protected void |
initialize()
Post construction initialization. |
Methods inherited from ServiceClient
Methods inherited from java.lang.Object
Constructor Details
RestOAuthClient
public RestOAuthClient(RestClient restClient)
Initializes an instance of ConnectorClient client.
Parameters:
RestOAuthClient
public RestOAuthClient(String baseUrl, ServiceClientCredentials credentials)
Initializes an instance of ConnectorClient client.
Parameters:
Method Details
getBotSignIn
public BotSignIn getBotSignIn()
Gets the BotSignIns object to access its operations.
Returns:
getUserToken
public UserToken getUserToken()
Gets the UserTokens object to access its operations.
Returns:
initialize
protected void initialize()
Post construction initialization.