You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

session.go 645B

12345678910111213
  1. package webauthn
  2. import "github.com/duo-labs/webauthn/protocol"
  3. // SessionData is the data that should be stored by the Relying Party for
  4. // the duration of the web authentication ceremony
  5. type SessionData struct {
  6. Challenge string `json:"challenge"`
  7. UserID []byte `json:"user_id"`
  8. AllowedCredentialIDs [][]byte `json:"allowed_credentials,omitempty"`
  9. UserVerification protocol.UserVerificationRequirement `json:"userVerification"`
  10. Extensions protocol.AuthenticationExtensions `json:"extensions,omitempty"`
  11. }