Class WebAuthnBrowserRequest

java.lang.Object
com.revetsec.webauthn.WebAuthnBrowserRequest

@Immutable public final class WebAuthnBrowserRequest extends Object
Library-prepared browser options and opaque single-use ceremony handle.
Since:
1.0.0
  • Method Details

    • getCeremonyId

      Returns the opaque ceremony handle for the completion call.
      Returns:
      canonical base64url ceremony ID
      Since:
      1.0.0
    • getPublicKeyOptions

      Returns the JSON options for the browser's WebAuthn conversion API.
      Returns:
      immutable public-key options
      Since:
      1.0.0
    • getJson

      Returns JSON containing ceremonyId and publicKey.
      Returns:
      the browser request JSON
      Since:
      1.0.0
    • toString

      Redacts the challenge and account display fields.
      Overrides:
      toString in class Object
      Returns:
      a fixed description
      Since:
      1.0.0