# Functions
NewService creates a new session service.
NewSessionHandler returns a new instance of SessionHandler.
NewSessionLogger returns a logging service middleware for the User Service.
NewSessionMetrics creates a new session metrics middleware.
NewStorage creates a new storage system.
SetCookieSession adds a cookie for the session to an http request.
WithIDGenerator overrides the default ID generator with the one provided to this function when called on a *Service.
WithSessionLength configures the length of the session with the provided duration when the resulting option is called on a *Service.
WithTokenGenerator overrides the default token generator with the one provided to this function when called on a *Service.
# Variables
ErrUnauthorized when a session request is unauthorized usually due to password mismatch.
# Structs
Service implements the influxdb.SessionService interface and handles communication between session and the necessary user and urm services.
SessionHandler represents an HTTP API handler for authorizations.
SessionLogger is a logger service middleware for sessions.
SessionMetrics is a metrics middleware system for the session service.
Storage is a store translation layer between the data storage unit and the service layer.
# Type aliases
ServiceOption is a functional option for configuring a *Service.