TokenResponse Class
- java.
lang. Object - com.
microsoft. bot. schema. TokenResponse
- com.
public class TokenResponse
A response that includes a user token.
Constructor Summary
| Constructor | Description |
|---|---|
| TokenResponse() |
Initializes a new instance of the Token |
| TokenResponse(String channelId, String connectionName, String token, String expiration) |
Initializes a new instance of the Token |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getChannelId()
Gets the channel |
| java.lang.String |
getConnectionName()
Get the connection |
| java.lang.String |
getExpiration()
Get the expiration value. |
| java.lang.String |
getToken()
Get the token value. |
| void |
setChannelId(String withChannelId)
Sets the channel |
| void |
setConnectionName(String withConnectionName)
Set the connection |
| void |
setExpiration(String withExpiration)
Set the expiration value. |
| void |
setToken(String withToken)
Set the token value. |
Methods inherited from java.lang.Object
Constructor Details
TokenResponse
public TokenResponse()
Initializes a new instance of the TokenResponse class.
TokenResponse
public TokenResponse(String channelId, String connectionName, String token, String expiration)
Initializes a new instance of the TokenResponse class.
Parameters:
Method Details
getChannelId
public String getChannelId()
Gets the channelId value.
Returns:
getConnectionName
public String getConnectionName()
Get the connectionName value.
Returns:
getExpiration
public String getExpiration()
Get the expiration value.
Returns:
getToken
public String getToken()
Get the token value.
Returns:
setChannelId
public void setChannelId(String withChannelId)
Sets the channelId value.
Parameters:
setConnectionName
public void setConnectionName(String withConnectionName)
Set the connectionName value.
Parameters:
setExpiration
public void setExpiration(String withExpiration)
Set the expiration value.
Parameters:
setToken
public void setToken(String withToken)
Set the token value.
Parameters: