Versions in this module Expand all Collapse all v0 v0.8.2 Aug 18, 2024 v0.8.1 Jul 8, 2024 Changes in this version + type Authenticator interface + func New(driver, source string) (Authenticator, error) + type Error struct + ExternalMsg string + InternalErr error + func (err *Error) Error() string + func (err *Error) Unwrap() error + type OAuthBearerAuthenticator interface + AuthOAuthBearer func(ctx context.Context, db database.Database, token string) (username string, err error) + type PlainAuthenticator interface + AuthPlain func(ctx context.Context, db database.Database, username, password string) error + func NewInternal() PlainAuthenticator