package
2.7.11
Repository: https://github.com/influxdata/influxdb.git
Documentation: pkg.go.dev

# Functions

ErrInvalidAuthIDError is used when a service was provided an invalid ID.
NewAuthLogger returns a logging service middleware for the Authorization Service.
NewHTTPAuthHandler constructs a new http server.
UnexpectedAuthIndexError is used when the error comes from an internal system.
VerifyPermissions ensures that an authorization is allowed all of the appropriate permissions.

# Constants

# Variables

ErrAuthNotFound is used when the specified auth cannot be found.
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.
NotUniqueIDError occurs when attempting to create an Authorization with an ID that already belongs to another one.

# Structs

AuthorizationClientService connects to Influx via HTTP using tokens to manage authorizations.

# Interfaces

TenantService is used to look up the Organization and User for an Authorization.