@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultSession extends AbstractInstanceResource<Session> implements Session
properties
readLock, writeLock
Constructor and Description |
---|
DefaultSession(InternalDataStore dataStore) |
DefaultSession(InternalDataStore dataStore,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Close Session
|
List<SessionAuthenticationMethod> |
getAmr() |
Date |
getCreatedAt() |
Date |
getExpiresAt() |
String |
getId() |
SessionIdentityProvider |
getIdp() |
Date |
getLastFactorVerification() |
Date |
getLastPasswordVerification() |
Map<String,Object> |
getLinks() |
String |
getLogin() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
SessionStatus |
getStatus() |
String |
getUserId() |
Session |
refresh()
Refresh Session
|
save
clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, values
getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setProperty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public DefaultSession(InternalDataStore dataStore)
public DefaultSession(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors
in class AbstractResource
public Class<? extends Resource> getResourceClass()
AbstractInstanceResource
Foo
, in this case this method may return Foo.class
.
(Defaults to getClass()
.)getResourceClass
in class AbstractInstanceResource<Session>
public List<SessionAuthenticationMethod> getAmr()
public Date getCreatedAt()
getCreatedAt
in interface Session
public Date getExpiresAt()
getExpiresAt
in interface Session
public SessionIdentityProvider getIdp()
public Date getLastFactorVerification()
getLastFactorVerification
in interface Session
public Date getLastPasswordVerification()
getLastPasswordVerification
in interface Session
public SessionStatus getStatus()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/sessions/{sessionId}/lifecycle/refresh") public Session refresh()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/sessions/{sessionId}") public void delete()
Copyright © 2017–2023 Okta. All rights reserved.