Crate some_auth

Source

Structs§

CredentialValidator
Credential validator which is used in UserService to validate AuthUser
JwtTokenSettings
Jwt settings for [UserService] configuration
Role
User’s role
TokenPair
Access-Refresh token pair
User
Default implementation of AuthUser
UserService
Provides access logic for specified AuthUser
UserServiceBuilder
Builder to configure and build UserService

Enums§

AuthError
Errors connected to auth mechanisms

Traits§

AuthRepository
Auth repository which is used in [UserService]
AuthUser
User in auth context

Functions§

builder
Creates builder to configure and build UserService. See also AuthUser
default_builder
Creates default builder with the following configuration: