Versions in this module Expand all Collapse all v0 v0.4.0 Dec 1, 2025 Changes in this version + type Options struct + CredentialsColumn string + IDColumn string + PasswordColumn string + type Provider struct + func NewProviderWith[User contract.Authenticatable](db contract.Database, options Options) *Provider[User] + func NewProvider[User contract.Authenticatable](db contract.Database) *Provider[User] + func (p *Provider[User]) RetrieveByCredentials(ctx context.Context, identifier []byte) (u User, e error) + func (p *Provider[User]) UserByID(ctx context.Context, id []byte) (u User, e error) + func (p *Provider[User]) Validate(ctx context.Context, user User, password []byte) bool