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-01-30T09:30:33.152574-06:00[America/Chicago]")
public class Session
extends Object
implements Serializable
Session
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
Session
public Session()
-
-
Method Details
-
getAmr
Authentication method reference- Returns:
- amr
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
getExpiresAt
A timestamp when the Session expires- Returns:
- expiresAt
-
getId
A unique key for the Session- Returns:
- id
-
idp
-
getIdp
Get idp- Returns:
- idp
-
setIdp
-
getLastFactorVerification
A timestamp when the user last performed multifactor authentication- Returns:
- lastFactorVerification
-
getLastPasswordVerification
A timestamp when the user last performed the primary or step-up authentication with a password- Returns:
- lastPasswordVerification
-
getLogin
A unique identifier for the user (username)- Returns:
- login
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
getUserId
A unique key for the user- Returns:
- userId
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-