Class AuthenticationRequest

java.lang.Object
com.jadaptive.webauthn.server.model.AuthenticationRequest

public class AuthenticationRequest extends Object
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.
  • 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

      public Optional<String> getUsername()
    • getRequest

      public com.yubico.webauthn.AssertionRequest getRequest()