SignInResource Class

  • java.lang.Object
    • com.microsoft.bot.schema.SignInResource

public class SignInResource

A type containing information for single sign-on.

Constructor Summary

Constructor Description
SignInResource()

Initializes a new instance of the SignInUrlResponse class.

SignInResource(String signInLink, TokenExchangeResource tokenExchangeResource)

Initializes a new instance of the SignInUrlResponse class.

Method Summary

Modifier and Type Method and Description
java.lang.String getSignInLink()

The sign-in link.

TokenExchangeResource getTokenExchangeResource()

Additional properties that cna be used for token exchange operations.

void setSignInLink(String withSignInLink)

The sign-in link.

void setTokenExchangeResource(TokenExchangeResource withTokenExchangeResource)

Additional properties that cna be used for token exchange operations.

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

SignInResource

public SignInResource()

Initializes a new instance of the SignInUrlResponse class.

SignInResource

public SignInResource(String signInLink, TokenExchangeResource tokenExchangeResource)

Initializes a new instance of the SignInUrlResponse class.

Parameters:

signInLink - the sign in link to initialize this instance to.
tokenExchangeResource - the tokenExchangeResource to initialize this instance to.

Method Details

getSignInLink

public String getSignInLink()

The sign-in link.

Returns:

the SignInLink value as a String.

getTokenExchangeResource

public TokenExchangeResource getTokenExchangeResource()

Additional properties that cna be used for token exchange operations.

Returns:

the TokenExchangeResource value as a TokenExchangeResource.

setSignInLink

public void setSignInLink(String withSignInLink)

The sign-in link.

Parameters:

withSignInLink - The SignInLink value.

setTokenExchangeResource

public void setTokenExchangeResource(TokenExchangeResource withTokenExchangeResource)

Additional properties that cna be used for token exchange operations.

Parameters:

withTokenExchangeResource - The TokenExchangeResource value.

Applies to