Package com.okta.sdk.resource.model
Class OAuth2RefreshToken
java.lang.Object
com.okta.sdk.resource.model.OAuth2RefreshToken
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class OAuth2RefreshToken
extends Object
implements Serializable
OAuth2RefreshToken
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddscopesItem
(String scopesItem) embedded
(OAuth2RefreshTokenEmbedded embedded) boolean
Client IDTimestamp when the object was createdGet embeddedExpiration time of the OAuth 2.0 TokengetId()
ID of the Token objectThe complete URL of the authorization server that issued the TokenTimestamp when the object was last updatedgetLinks()
Get linksThe scope names attached to the TokenGet statusThe ID of the user associated with the Tokenint
hashCode()
links
(OAuth2RefreshTokenLinks links) void
setClientId
(String clientId) void
setEmbedded
(OAuth2RefreshTokenEmbedded embedded) void
void
setLinks
(OAuth2RefreshTokenLinks links) void
void
setStatus
(GrantOrTokenStatus status) void
status
(GrantOrTokenStatus status) toString()
-
Field Details
-
JSON_PROPERTY_CLIENT_ID
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_ISSUER
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_USER_ID
- See Also:
-
JSON_PROPERTY_EMBEDDED
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
OAuth2RefreshToken
public OAuth2RefreshToken()
-
-
Method Details
-
clientId
-
getClientId
Client ID- Returns:
- clientId
-
setClientId
-
getCreated
Timestamp when the object was created- Returns:
- created
-
getExpiresAt
Expiration time of the OAuth 2.0 Token- Returns:
- expiresAt
-
getId
ID of the Token object- Returns:
- id
-
issuer
-
getIssuer
The complete URL of the authorization server that issued the Token- Returns:
- issuer
-
setIssuer
-
getLastUpdated
Timestamp when the object was last updated- Returns:
- lastUpdated
-
scopes
-
addscopesItem
-
getScopes
The scope names attached to the Token- Returns:
- scopes
-
setScopes
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
userId
-
getUserId
The ID of the user associated with the Token- Returns:
- userId
-
setUserId
-
embedded
-
getEmbedded
Get embedded- Returns:
- embedded
-
setEmbedded
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-