Class AuthenticationResponse

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

public class AuthenticationResponse extends Object
When a relying party app sends a Webauthn authentication request to a Webauthn device to sign the challenge, the Webauthn device sends back a response with signature. This response is captured by this object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AuthenticationResponse(com.yubico.webauthn.data.ByteArray requestId, com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAssertionResponse,com.yubico.webauthn.data.ClientAssertionExtensionOutputs> credential)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAssertionResponse,com.yubico.webauthn.data.ClientAssertionExtensionOutputs>
     
    com.yubico.webauthn.data.ByteArray
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthenticationResponse

      public AuthenticationResponse(com.yubico.webauthn.data.ByteArray requestId, com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAssertionResponse,com.yubico.webauthn.data.ClientAssertionExtensionOutputs> credential)
  • Method Details

    • getRequestId

      public com.yubico.webauthn.data.ByteArray getRequestId()
    • getCredential

      public com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAssertionResponse,com.yubico.webauthn.data.ClientAssertionExtensionOutputs> getCredential()