# Functions
ErrorFromContext returns the error from the given context.
NewHandler returns a new SAMS authentication handler with the given configuration.
UserInfoFromContext returns the user info from the given context.
WithError returns a new context with the given error.
WithUserInfo returns a new context with the given user info.
# Variables
DefaultFailureHandler responds with the status code and message based on the error extracted from the context.
# Interfaces
SecretStore is the interface for managing the authentication state and nonce in the per-user session.