TokenExchangeResource Class
- java.
lang. Object - com.
microsoft. bot. schema. TokenExchangeResource
- com.
public class TokenExchangeResource
Response schema sent back from Bot Framework Token Service required to initiate a user single sign on.
Constructor Summary
| Constructor | Description |
|---|---|
| TokenExchangeResource() |
Initializes a new instance of the Token |
| TokenExchangeResource(String id, String uri, String providerId) |
Initializes a new instance of the Token |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getId()
A unique identifier for this token exchange instance. |
| java.lang.String |
getProviderId()
The identifier of the provider with which to attempt a token exchange A value of null or empty will default to Azure Active Directory. |
| java.lang.String |
getUri()
The application D / resource identifier with which to exchange a token. |
| void |
setId(String withId)
A unique identifier for this token exchange instance. |
| void |
setProviderId(String withProviderId)
The identifier of the provider with which to attempt a token exchange A value of null or empty will default to Azure Active Directory. |
| void |
setUri(String withUri)
The application D / resource identifier with which to exchange a token. |
Methods inherited from java.lang.Object
Constructor Details
TokenExchangeResource
public TokenExchangeResource()
Initializes a new instance of the TokenExchangeResource class.
TokenExchangeResource
public TokenExchangeResource(String id, String uri, String providerId)
Initializes a new instance of the TokenExchangeResource class.
Parameters:
Method Details
getId
public String getId()
A unique identifier for this token exchange instance.
Returns:
getProviderId
public String getProviderId()
The identifier of the provider with which to attempt a token exchange A value of null or empty will default to Azure Active Directory.
Returns:
getUri
public String getUri()
The application D / resource identifier with which to exchange a token. on behalf of
Returns:
setId
public void setId(String withId)
A unique identifier for this token exchange instance.
Parameters:
setProviderId
public void setProviderId(String withProviderId)
The identifier of the provider with which to attempt a token exchange A value of null or empty will default to Azure Active Directory.
Parameters:
setUri
public void setUri(String withUri)
The application D / resource identifier with which to exchange a token. on behalf of
Parameters: