# Packages
Package mocks is a generated GoMock package.
# Functions
ErrInvalidAuthIDError is used when a service was provided an invalid ID.
NewAuthedPasswordService wraps an existing PasswordService with authorization middleware.
No description provided by the author
NewHTTPAuthHandler constructs a new http server.
NewService constructs a new Service.
No description provided by the author
UnavailablePasswordServiceError is used if we aren't able to add the password to the store, it means the store is not available at the moment (e.g.
UnexpectedAuthIndexError is used when the error comes from an internal system.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
SaltBytes is the number of bytes used for salts.
# Variables
ErrAuthNotFound is used when the specified auth cannot be found.
ErrBucketNotFound is used when attempting to create an authorization with a bucket id that does not exist.
ErrFailureGeneratingID occurs ony when the random number generator cannot generate an ID in MaxIDGenerationN times.
ErrInvalidAuthID is used when the Authorization's ID cannot be encoded.
ErrTokenAlreadyExistsError is used when attempting to create an authorization with a token that already exists.
No description provided by the author
NotUniqueIDError occurs when attempting to create an Authorization with an ID that already belongs to another one.
# Structs
AuthedPasswordService is middleware for authorizing requests to the inner PasswordService.
No description provided by the author
A type that is used to verify credentials.
An implementation of influxdb.PasswordsService that will perform ComparePassword requests at a reduced cost under certain conditions.
Client connects to Influx via HTTP using tokens to manage authorizations.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TenantService is used to look up the Organization and User for an Authorization.
No description provided by the author