Package com.okta.authn.sdk.impl.resource
Class DefaultAuthenticationRequest
- java.lang.Object
-
- com.okta.sdk.impl.resource.AbstractPropertyRetriever
-
- com.okta.sdk.impl.resource.AbstractResource
-
- com.okta.authn.sdk.impl.resource.DefaultAuthenticationRequest
-
- All Implemented Interfaces:
AuthenticationRequest
,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 DefaultAuthenticationRequest extends com.okta.sdk.impl.resource.AbstractResource implements AuthenticationRequest
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthenticationRequest(com.okta.sdk.impl.ds.InternalDataStore dataStore)
DefaultAuthenticationRequest(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
getAudience()
java.util.Map<java.lang.String,java.lang.Object>
getContext()
Options
getOptions()
java.util.Map<java.lang.String,com.okta.sdk.impl.resource.Property>
getPropertyDescriptors()
java.lang.String
getRelayState()
java.lang.String
getUsername()
AuthenticationRequest
setAudience(java.lang.String audience)
AuthenticationRequest
setContext(java.util.Map<java.lang.String,java.lang.Object> context)
AuthenticationRequest
setOptions(Options options)
AuthenticationRequest
setPassword(char[] password)
AuthenticationRequest
setRelayState(java.lang.String relayState)
AuthenticationRequest
setUsername(java.lang.String username)
-
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
-
-
-
-
Constructor Detail
-
DefaultAuthenticationRequest
public DefaultAuthenticationRequest(com.okta.sdk.impl.ds.InternalDataStore dataStore)
-
DefaultAuthenticationRequest
public DefaultAuthenticationRequest(com.okta.sdk.impl.ds.InternalDataStore dataStore, java.util.Map<java.lang.String,java.lang.Object> properties)
-
-
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
-
getRelayState
public java.lang.String getRelayState()
- Specified by:
getRelayState
in interfaceAuthenticationRequest
-
setRelayState
public AuthenticationRequest setRelayState(java.lang.String relayState)
- Specified by:
setRelayState
in interfaceAuthenticationRequest
-
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername
in interfaceAuthenticationRequest
-
setUsername
public AuthenticationRequest setUsername(java.lang.String username)
- Specified by:
setUsername
in interfaceAuthenticationRequest
-
setPassword
public AuthenticationRequest setPassword(char[] password)
- Specified by:
setPassword
in interfaceAuthenticationRequest
-
getAudience
public java.lang.String getAudience()
- Specified by:
getAudience
in interfaceAuthenticationRequest
-
setAudience
public AuthenticationRequest setAudience(java.lang.String audience)
- Specified by:
setAudience
in interfaceAuthenticationRequest
-
getContext
public java.util.Map<java.lang.String,java.lang.Object> getContext()
- Specified by:
getContext
in interfaceAuthenticationRequest
-
setContext
public AuthenticationRequest setContext(java.util.Map<java.lang.String,java.lang.Object> context)
- Specified by:
setContext
in interfaceAuthenticationRequest
-
getOptions
public Options getOptions()
- Specified by:
getOptions
in interfaceAuthenticationRequest
-
setOptions
public AuthenticationRequest setOptions(Options options)
- Specified by:
setOptions
in interfaceAuthenticationRequest
-
-