Class AuthenticationRequest
java.lang.Object
com.jadaptive.webauthn.server.model.AuthenticationRequest
When a relying party app requests relying party for a sign/authentication request, for instance login request.
The relying party app needs a request object as described in Webauthn specification to be sent to Webauthn
device. This device receives this request from the relying party app.
So the flow is,
RP APP -> RP -> AuthenticationRequest instance
RP APP receives the instance -> Webauthn device.
This webauth device then process the request.
The request has user details and PKI key information and a challenge.
From user details and key information Webauthn device finds the matching private key if exists and perform sign operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSpecial case handling, inAuthenticationRequestproperty of type AssertionRequest is transient and JsonIgnore'd. -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationRequest(com.yubico.webauthn.data.ByteArray requestId, com.yubico.webauthn.AssertionRequest request) -
Method Summary
Modifier and TypeMethodDescriptioncom.yubico.webauthn.data.PublicKeyCredentialRequestOptionscom.yubico.webauthn.AssertionRequestcom.yubico.webauthn.data.ByteArray
-
Constructor Details
-
AuthenticationRequest
public AuthenticationRequest(com.yubico.webauthn.data.ByteArray requestId, com.yubico.webauthn.AssertionRequest request)
-
-
Method Details
-
getRequestId
public com.yubico.webauthn.data.ByteArray getRequestId() -
getPublicKeyCredentialRequestOptions
public com.yubico.webauthn.data.PublicKeyCredentialRequestOptions getPublicKeyCredentialRequestOptions() -
getUsername
-
getRequest
public com.yubico.webauthn.AssertionRequest getRequest()
-