Package com.okta.sdk.resource.model
Class Session
java.lang.Object
com.okta.sdk.resource.model.Session
- 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 Session
extends Object
implements Serializable
Session
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetAmr()Authentication method referenceGet createdAtA timestamp when the Session expiresgetId()A unique key for the SessiongetIdp()Get idpA timestamp when the user last performed multifactor authenticationA timestamp when the user last performed the primary or step-up authentication with a passwordgetLinks()Get linksgetLogin()A unique identifier for the user (username)Get statusA unique key for the userinthashCode()voidvoidvoidsetStatus(SessionStatus status) status(SessionStatus status) toString()
- 
Field Details- 
JSON_PROPERTY_AMR- See Also:
 
- 
JSON_PROPERTY_CREATED_AT- See Also:
 
- 
JSON_PROPERTY_EXPIRES_AT- See Also:
 
- 
JSON_PROPERTY_ID- See Also:
 
- 
JSON_PROPERTY_IDP- See Also:
 
- 
JSON_PROPERTY_LAST_FACTOR_VERIFICATION- See Also:
 
- 
JSON_PROPERTY_LAST_PASSWORD_VERIFICATION- See Also:
 
- 
JSON_PROPERTY_LOGIN- See Also:
 
- 
JSON_PROPERTY_STATUS- See Also:
 
- 
JSON_PROPERTY_USER_ID- See Also:
 
- 
JSON_PROPERTY_LINKS- See Also:
 
 
- 
- 
Constructor Details- 
Sessionpublic Session()
 
- 
- 
Method Details- 
getAmrAuthentication method reference- Returns:
- amr
 
- 
getCreatedAtGet createdAt- Returns:
- createdAt
 
- 
getExpiresAtA timestamp when the Session expires- Returns:
- expiresAt
 
- 
getIdA unique key for the Session- Returns:
- id
 
- 
idp
- 
getIdpGet idp- Returns:
- idp
 
- 
setIdp
- 
getLastFactorVerificationA timestamp when the user last performed multifactor authentication- Returns:
- lastFactorVerification
 
- 
getLastPasswordVerificationA timestamp when the user last performed the primary or step-up authentication with a password- Returns:
- lastPasswordVerification
 
- 
getLoginA unique identifier for the user (username)- Returns:
- login
 
- 
status
- 
getStatusGet status- Returns:
- status
 
- 
setStatus
- 
getUserIdA unique key for the user- Returns:
- userId
 
- 
links
- 
getLinksGet links- Returns:
- links
 
- 
setLinks
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-