Package com.okta.authn.sdk.impl.resource
Class DefaultFactorActivation
- java.lang.Object
-
- com.okta.sdk.impl.resource.AbstractPropertyRetriever
-
- com.okta.sdk.impl.resource.AbstractResource
-
- com.okta.authn.sdk.impl.resource.DefaultFactorActivation
-
- All Implemented Interfaces:
DuoFactorActivation
,FactorActivation
,PushFactorActivation
,TotpFactorActivation
,U2fFactorActivation
,com.okta.sdk.resource.ExtensibleResource
,com.okta.sdk.resource.PropertyRetriever
,com.okta.sdk.resource.Resource
,java.util.Map<java.lang.String,java.lang.Object>
public class DefaultFactorActivation extends com.okta.sdk.impl.resource.AbstractResource implements FactorActivation, TotpFactorActivation, U2fFactorActivation, PushFactorActivation, DuoFactorActivation
-
-
Constructor Summary
Constructors Constructor Description DefaultFactorActivation(com.okta.sdk.impl.ds.InternalDataStore dataStore, java.util.Map<java.lang.String,java.lang.Object> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAppId()
java.lang.String
getEncoding()
java.util.Date
getExpiresAt()
java.lang.String
getFactorResult()
java.lang.String
getHost()
java.lang.Integer
getKeyLength()
java.util.Map<java.lang.String,Link>
getLinks()
java.lang.String
getNonce()
java.util.Map<java.lang.String,com.okta.sdk.impl.resource.Property>
getPropertyDescriptors()
java.lang.String
getSharedSecret()
java.lang.String
getSignature()
java.lang.Integer
getTimeoutSeconds()
java.lang.Integer
getTimeStep()
java.lang.String
getVersion()
-
Methods inherited from class com.okta.sdk.impl.resource.AbstractResource
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
-
Methods inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
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
-
-
-
-
Method Detail
-
getPropertyDescriptors
public java.util.Map<java.lang.String,com.okta.sdk.impl.resource.Property> getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in classcom.okta.sdk.impl.resource.AbstractResource
-
getTimeStep
public java.lang.Integer getTimeStep()
- Specified by:
getTimeStep
in interfaceFactorActivation
- Specified by:
getTimeStep
in interfaceTotpFactorActivation
-
getSharedSecret
public java.lang.String getSharedSecret()
- Specified by:
getSharedSecret
in interfaceFactorActivation
- Specified by:
getSharedSecret
in interfaceTotpFactorActivation
-
getEncoding
public java.lang.String getEncoding()
- Specified by:
getEncoding
in interfaceFactorActivation
- Specified by:
getEncoding
in interfaceTotpFactorActivation
-
getKeyLength
public java.lang.Integer getKeyLength()
- Specified by:
getKeyLength
in interfaceFactorActivation
- Specified by:
getKeyLength
in interfaceTotpFactorActivation
-
getHost
public java.lang.String getHost()
- Specified by:
getHost
in interfaceDuoFactorActivation
- Specified by:
getHost
in interfaceFactorActivation
-
getSignature
public java.lang.String getSignature()
- Specified by:
getSignature
in interfaceDuoFactorActivation
- Specified by:
getSignature
in interfaceFactorActivation
-
getFactorResult
public java.lang.String getFactorResult()
- Specified by:
getFactorResult
in interfaceDuoFactorActivation
- Specified by:
getFactorResult
in interfaceFactorActivation
- Specified by:
getFactorResult
in interfacePushFactorActivation
-
getExpiresAt
public java.util.Date getExpiresAt()
- Specified by:
getExpiresAt
in interfaceFactorActivation
- Specified by:
getExpiresAt
in interfacePushFactorActivation
-
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interfaceFactorActivation
- Specified by:
getVersion
in interfaceU2fFactorActivation
-
getAppId
public java.lang.String getAppId()
- Specified by:
getAppId
in interfaceFactorActivation
- Specified by:
getAppId
in interfaceU2fFactorActivation
-
getNonce
public java.lang.String getNonce()
- Specified by:
getNonce
in interfaceFactorActivation
- Specified by:
getNonce
in interfaceU2fFactorActivation
-
getTimeoutSeconds
public java.lang.Integer getTimeoutSeconds()
- Specified by:
getTimeoutSeconds
in interfaceFactorActivation
- Specified by:
getTimeoutSeconds
in interfaceU2fFactorActivation
-
getLinks
public java.util.Map<java.lang.String,Link> getLinks()
- Specified by:
getLinks
in interfaceFactorActivation
-
-