RestBotSignIn Class

  • java.lang.Object
    • com.microsoft.bot.connector.rest.RestBotSignIn

Implements

public class RestBotSignIn
implements BotSignIn

An instance of this class provides access to all the operations defined in BotSignIns.

Constructor Summary

Constructor Description
RestBotSignIn(Retrofit withRetrofit, RestOAuthClient withClient)

Initializes an instance of BotSignInsImpl.

Method Summary

Modifier and Type Method and Description
java.util.concurrent.CompletableFuture<SignInResource> getSignInResource(String state)
java.util.concurrent.CompletableFuture<SignInResource> getSignInResource(String state, String codeChallenge, String emulatorUrl, String finalRedirect)
java.util.concurrent.CompletableFuture<java.lang.String> getSignInUrl(String state)
java.util.concurrent.CompletableFuture<java.lang.String> getSignInUrl(String state, String codeChallenge, String emulatorUrl, String finalRedirect)

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

RestBotSignIn

public RestBotSignIn(Retrofit withRetrofit, RestOAuthClient withClient)

Initializes an instance of BotSignInsImpl.

Parameters:

withRetrofit - the Retrofit instance built from a Retrofit Builder.
withClient - the instance of the service client containing this operation class.

Method Details

getSignInResource

public CompletableFuture getSignInResource(String state)

Parameters:

state - the String value

Returns:

the observable to the String object

getSignInResource

public CompletableFuture getSignInResource(String state, String codeChallenge, String emulatorUrl, String finalRedirect)

Parameters:

state - the String value
codeChallenge - the String value
emulatorUrl - the String value
finalRedirect - the String value

Returns:

the observable to the String object

getSignInUrl

public CompletableFuture getSignInUrl(String state)

Parameters:

state - the String value

Returns:

the observable to the String object

getSignInUrl

public CompletableFuture getSignInUrl(String state, String codeChallenge, String emulatorUrl, String finalRedirect)

Parameters:

state - the String value
codeChallenge - the String value
emulatorUrl - the String value
finalRedirect - the String value

Returns:

the observable to the String object

Applies to