Package com.okta.sdk.resource.model
Class TokenResponse
java.lang.Object
com.okta.sdk.resource.model.TokenResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-09T14:19:33.269913-05:00[America/Chicago]",
comments="Generator version: 7.7.0")
public class TokenResponse
extends Object
implements Serializable
TokenResponse
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) deviceSecret
(String deviceSecret) boolean
An access token.An opaque device secret.The expiration time of the access token in seconds.An ID token.Get issuedTokenTypeAn opaque refresh token.getScope()
The scopes contained in the access token.Get tokenTypeint
hashCode()
issuedTokenType
(TokenType issuedTokenType) refreshToken
(String refreshToken) void
setAccessToken
(String accessToken) void
setDeviceSecret
(String deviceSecret) void
setExpiresIn
(Integer expiresIn) void
setIdToken
(String idToken) void
setIssuedTokenType
(TokenType issuedTokenType) void
setRefreshToken
(String refreshToken) void
void
setTokenType
(TokenResponseTokenType tokenType) tokenType
(TokenResponseTokenType tokenType) toString()
-
Field Details
-
JSON_PROPERTY_ACCESS_TOKEN
- See Also:
-
JSON_PROPERTY_DEVICE_SECRET
- See Also:
-
JSON_PROPERTY_EXPIRES_IN
- See Also:
-
JSON_PROPERTY_ID_TOKEN
- See Also:
-
JSON_PROPERTY_ISSUED_TOKEN_TYPE
- See Also:
-
JSON_PROPERTY_REFRESH_TOKEN
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_TOKEN_TYPE
- See Also:
-
-
Constructor Details
-
TokenResponse
public TokenResponse()
-
-
Method Details
-
accessToken
-
getAccessToken
-
setAccessToken
-
deviceSecret
-
getDeviceSecret
-
setDeviceSecret
-
expiresIn
-
getExpiresIn
-
setExpiresIn
-
idToken
-
getIdToken
-
setIdToken
-
issuedTokenType
-
getIssuedTokenType
-
setIssuedTokenType
-
refreshToken
-
getRefreshToken
-
setRefreshToken
-
scope
-
getScope
-
setScope
-
tokenType
-
getTokenType
-
setTokenType
-
equals
-
hashCode
-
toString
-