Documentation
¶
Overview ¶
Package passkey implements a provider that uses the WebAuthn PRF extension via the user's browser to derive a deterministic 32-byte secret from a passkey (platform authenticator, security key, or cross-device via phone).
The browser handles all the UX — including showing a QR code for cross-device passkey flows (caBLE/hybrid transport). We just serve a localhost page that calls the WebAuthn API.
Index ¶
- type Passkey
- func (p *Passkey) Derive(ctx context.Context, params map[string]string) ([]byte, error)
- func (p *Passkey) DeriveTimeout() time.Duration
- func (p *Passkey) Description() string
- func (p *Passkey) Enroll(ctx context.Context, id string) (*provider.EnrollResult, error)
- func (p *Passkey) InteractiveDerive() bool
- func (p *Passkey) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Passkey ¶
type Passkey struct{}
func (*Passkey) DeriveTimeout ¶
func (*Passkey) Description ¶
func (*Passkey) InteractiveDerive ¶
Click to show internal directories.
Click to hide internal directories.