package
0.1.51
Repository: https://github.com/origadmin/runtime.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewAuthN is a server authenticator middleware.
NewAuthNClient is a client authenticator middleware.
NewAuthNServer is a server authenticator middleware.
NewAuthZ returns a new server middleware.
NewAuthZClient returns a new server middleware.
NewAuthZServer returns a new server middleware.
No description provided by the author
No description provided by the author
SkipperServer returns a middleware that skips certain operations based on the provided configuration.
TokenFromContext .
No description provided by the author
No description provided by the author
TokenToContext .
WithAuthenticator sets the token.
WithAuthorizer sets the authorizer.
No description provided by the author
WithConfig sets the configuration.
No description provided by the author
No description provided by the author
No description provided by the author
WithSkipKey sets the skip key.
WithSkipper sets the public paths.
WithTokenKey sets the token key.
WithTokenParser sets the token parser.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
MetadataSecuritySkipKey is the default skip key.
MetadataSecurityTokenKey is the default token key.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Option is a struct that contains the settings for the security middleware.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
OptionSetting is a function that sets an option.
ResponseWriter is a function that writes a response to the http.ResponseWriter.
TokenParser is a function that parses a token from the context.