WebauthnComponents.PubKeyCredParams (WebauthnComponents v0.11.3)

View Source

Struct used to specify the algorithms supported by the host application.

Algorithms

By default, WebauthnComponents.PublicKeyCredentialCreationOptions includes the algorithms suggested by MDN documentation:

  • -8 EdDSA
  • -7 ES256
  • -257 RS256

You may override the default list of WebauthnComponents.PubKeyCredParams when creating the WebauthnComponents.PublicKeyCredentialCreationOptions struct.

Resources

Summary

Types

t()

@type t() :: %WebauthnComponents.PubKeyCredParams{alg: integer(), type: String.t()}