ruby-passkeys / devise-passkeys

Devise extension to use passkeys instead of passwords
MIT License
161 stars 12 forks source link

Add `passkey` keyword parameter to `PasskeyAuthenticatable.after_passkey_authentication` #14

Closed tcannonfodder closed 1 year ago

tcannonfodder commented 1 year ago

To make the callback more useful, it should include the passkey that was used to authenticate.

This would make it easier to perform actions like:

So the new method signature should be:

def after_passkey_authentication(passkey:)
...
end