Package io.hanko.sdk.models
Class CreateWebAuthnRequest
- java.lang.Object
-
- io.hanko.sdk.models.CommonCreateRequest
-
- io.hanko.sdk.models.CreateWebAuthnRequest
-
public class CreateWebAuthnRequest extends CommonCreateRequest
Class which holds all relevant data to request an web authentication operation.
-
-
Field Summary
-
Fields inherited from class io.hanko.sdk.models.CommonCreateRequest
clientData, deviceIds, isSecondFactorOnly, operation, transaction, userId, username
-
-
Constructor Summary
Constructors Constructor Description CreateWebAuthnRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttestationConveyancePreference
getAttestationConveyancePreference()
AuthenticatorSelectionCriteria
getAuthenticatorSelectionCriteria()
java.lang.String
getDisplayName()
void
setAttestationConveyancePreference(AttestationConveyancePreference attestationConveyancePreference)
void
setAuthenticatorSelectionCriteria(AuthenticatorSelectionCriteria authenticatorSelectionCriteria)
Set the AuthenticatorSelectionCriteria to specify which type of authenticator you allow for the operationvoid
setDisplayName(java.lang.String displayName)
Set the displayName which will be included in the request-
Methods inherited from class io.hanko.sdk.models.CommonCreateRequest
getClientData, getDeviceIds, getOperation, getTransaction, getUserId, getUsername, isSecondFactorOnly, isValid, setClientData, setDeviceIds, setOperation, setSecondFactorOnly, setTransaction, setUserId, setUsername
-
-
-
-
Method Detail
-
setAuthenticatorSelectionCriteria
public void setAuthenticatorSelectionCriteria(AuthenticatorSelectionCriteria authenticatorSelectionCriteria)
Set the AuthenticatorSelectionCriteria to specify which type of authenticator you allow for the operation- Parameters:
authenticatorSelectionCriteria
-
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Set the displayName which will be included in the request- Parameters:
displayName
-
-
setAttestationConveyancePreference
public void setAttestationConveyancePreference(AttestationConveyancePreference attestationConveyancePreference)
-
getAuthenticatorSelectionCriteria
public AuthenticatorSelectionCriteria getAuthenticatorSelectionCriteria()
-
getDisplayName
public java.lang.String getDisplayName()
-
getAttestationConveyancePreference
public AttestationConveyancePreference getAttestationConveyancePreference()
-
-