Skip to content

Make storage interface more friendly #27

@nsatragno

Description

@nsatragno

The storage interface should more easily allow developers to integrate this library with their existing user models, especially for relational databases.

  • The documentation should include the fields that are expected to be stored and their types.
  • search should probably be removed since it's not being used.
  • We should be careful that the design makes sense after Feature request: Allowing more than one authenticator #12 is implemented (e.g. we might want to be able to delete individual credentials).

It could also be a good idea to change the attribute user.authenticator to user.webauthnCredential since not all authenticators are webauthn authenticators and in theory the same user could have multiple credentials on the same authenticator, but this is a little bikesheddy :)

Blocked on #12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions