Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/devise/passkeys/model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ module Models
# This is the actual module that gets included in your
# model when you include `:passkey_authenticatable` in the
# `devise` call (eg: `devise :passkey_authenticatable, ...`).
#
# Please consult the {file:README.md#label-Usage} for model installation
# & configuration instructions.
module PasskeyAuthenticatable
# This is a callback that is called right after a successful passkey authentication.
#
# **Important**: You **must** follow the steps in the {file:README.md#label-Usage} to fully set up a model
# and use passkeys.
#
# By default, it is a no-op, but you can override it in your model for any custom behavior
# (such as notifying the user of a new login).
# @param passkey [String] the passkey that was used for authentication
Expand Down