RestOAuthClient Class

Implements

public class RestOAuthClient
extends ServiceClient
implements OAuthClient

Rest OAuth client.

Constructor Summary

Constructor Description
RestOAuthClient(RestClient restClient)

Initializes an instance of ConnectorClient client.

RestOAuthClient(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of ConnectorClient client.

Method Summary

Modifier and Type Method and Description
BotSignIn getBotSignIn()

Gets the BotSignIns object to access its operations.

UserToken getUserToken()

Gets the UserTokens object to access its operations.

protected void initialize()

Post construction initialization.

Methods inherited from ServiceClient

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

RestOAuthClient

public RestOAuthClient(RestClient restClient)

Initializes an instance of ConnectorClient client.

Parameters:

restClient - The RestClient to use.

RestOAuthClient

public RestOAuthClient(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of ConnectorClient client.

Parameters:

baseUrl - the base URL of the host
credentials - the management credentials for Azure

Method Details

getBotSignIn

public BotSignIn getBotSignIn()

Gets the BotSignIns object to access its operations.

Returns:

the BotSignIns object.

getUserToken

public UserToken getUserToken()

Gets the UserTokens object to access its operations.

Returns:

the UserTokens object.

initialize

protected void initialize()

Post construction initialization.

Applies to