package
0.2.1
Repository: https://github.com/bilcus/saml.git
Documentation: pkg.go.dev

# Functions

New creates a new Middleware.
RequireAttribute returns a middleware function that requires that the SAML attribute `name` be set to `value`.
Token returns the token associated with ctx, or nil if no token are associated.
WithToken returns a new context with token associated.

# Structs

AuthorizationToken represents the data stored in the authorization cookie.
ClientCookies implements ClientState and ClientToken using cookies.
Middleware implements middleware than allows a web application to support SAML.
Options represents the parameters for creating a new middleware.

# Interfaces

ClientState implements client side storage for state.
ClientToken implements client side storage for signed authorization tokens.

# Type aliases

Attributes is a map of attributes provided in the SAML assertion.