Package com.ibm.cloud.sdk.core.security
Class MCSPTokenResponse
- java.lang.Object
-
- com.ibm.cloud.sdk.core.security.MCSPTokenResponse
-
- All Implemented Interfaces:
TokenServerResponse
public class MCSPTokenResponse extends java.lang.Object implements TokenServerResponse
This class models a response received from the Multi-Cloud Saas Platform token server's "POST /siusermgr/api/1.0/apikeys/token" operation.
-
-
Constructor Summary
Constructors Constructor Description MCSPTokenResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getExpiresIn()
java.lang.String
getToken()
java.lang.String
getTokenType()
void
setExpiresIn(java.lang.Long expiresIn)
void
setToken(java.lang.String token)
void
setTokenType(java.lang.String tokenType)
-
-
-
Method Detail
-
getToken
public java.lang.String getToken()
-
setToken
public void setToken(java.lang.String token)
-
getTokenType
public java.lang.String getTokenType()
-
setTokenType
public void setTokenType(java.lang.String tokenType)
-
getExpiresIn
public java.lang.Long getExpiresIn()
-
setExpiresIn
public void setExpiresIn(java.lang.Long expiresIn)
-
-