TokenResponse Clase
- java.
lang. Object - com.
microsoft. bot. schema. TokenResponse
- com.
public class TokenResponse
Respuesta que incluye un token de usuario.
Resumen del constructor
| Constructor | Description |
|---|---|
| TokenResponse() |
Inicializa una nueva instancia de la clase Token |
| TokenResponse(String channelId, String connectionName, String token, String expiration) |
Inicializa una nueva instancia de la clase Token |
Resumen del método
| Modificador y tipo | Método y descripción |
|---|---|
| java.lang.String |
getChannelId()
Obtiene el valor de id. de |
| java.lang.String |
getConnectionName()
Obtenga el valor |
| java.lang.String |
getExpiration()
Obtenga el valor de expiración. |
| java.lang.String |
getToken()
Obtenga el valor del token. |
| void |
setChannelId(String withChannelId)
Establece el valor de id. de |
| void |
setConnectionName(String withConnectionName)
Establezca el valor |
| void |
setExpiration(String withExpiration)
Establezca el valor de expiración. |
| void |
setToken(String withToken)
Establezca el valor del token. |
Métodos heredados de java.lang.Object
Detalles del constructor
TokenResponse
public TokenResponse()
Inicializa una nueva instancia de la clase TokenResponse.
TokenResponse
public TokenResponse(String channelId, String connectionName, String token, String expiration)
Inicializa una nueva instancia de la clase TokenResponse.
Parámetros:
Detalles del método
getChannelId
public String getChannelId()
Obtiene el valor channelId.
Devoluciones:
getConnectionName
public String getConnectionName()
Obtenga el valor connectionName.
Devoluciones:
getExpiration
public String getExpiration()
Obtenga el valor de expiración.
Devoluciones:
getToken
public String getToken()
Obtenga el valor del token.
Devoluciones:
setChannelId
public void setChannelId(String withChannelId)
Establece el valor channelId.
Parámetros:
setConnectionName
public void setConnectionName(String withConnectionName)
Establezca el valor connectionName.
Parámetros:
setExpiration
public void setExpiration(String withExpiration)
Establezca el valor de expiración.
Parámetros:
setToken
public void setToken(String withToken)
Establezca el valor del token.
Parámetros: