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:20:25.727262-05:00[America/Chicago]",
comments="Generator version: 7.7.0")
public class TokenResponse
extends Object
implements Serializable
TokenResponse
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessToken(String accessToken) deviceSecret(String deviceSecret) booleanAn 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 tokenTypeinthashCode()issuedTokenType(TokenType issuedTokenType) refreshToken(String refreshToken) voidsetAccessToken(String accessToken) voidsetDeviceSecret(String deviceSecret) voidsetExpiresIn(Integer expiresIn) voidsetIdToken(String idToken) voidsetIssuedTokenType(TokenType issuedTokenType) voidsetRefreshToken(String refreshToken) voidvoidsetTokenType(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
-