# Functions
CountOtherUsers counts how many other users exist besides the one provided.
No description provided by the author
No description provided by the author
FindUserByConfirmationToken finds users with the matching confirmation token.
FindUserByEmailAndAudience finds a user with the matching email and audience.
FindUserByID finds a user matching the provided ID.
FindUserByInstanceIDAndID finds a user matching the provided ID.
FindUserByRecoveryToken finds a user with the matching recovery token.
FindUsersInAudience finds users with the matching audience.
FindUserWithRefreshToken finds a user from the provided refresh token.
GetInstance finds an instance by ID.
No description provided by the author
GrantAuthenticatedUser creates a refresh token for the provided user.
GrantRefreshTokenSwap swaps a refresh token for a new one, revoking the provided token.
IsDuplicatedEmail returns whether a user exists with a matching email and audience.
IsNotFoundError returns whether an error represents a "not found" error.
Logout deletes all refresh tokens for a user.
No description provided by the author
No description provided by the author
NewUser initializes a new user from an email, password and user data.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
AuditLogEntry is the database model for audit log entries.
No description provided by the author
InstanceNotFoundError represents when an instance is not found.
No description provided by the author
RefreshToken is the database model for refresh tokens.
RefreshTokenNotFoundError represents when a refresh token is not found.
No description provided by the author
No description provided by the author
User respresents a registered user with email/password authentication.
UserNotFoundError represents when a user is not found.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author