package
0.2.0-beta-5
Repository: https://github.com/kontesthq/go-security.git
Documentation: pkg.go.dev
# Functions
GetSecurityContextHolder initializes and returns the singleton SecurityContextHolder instance.
NewGlobalSecurityContextHolderStrategy creates a new instance of GlobalSecurityContextHolderStrategy.
NewInheritableThreadLocalSecurityContextHolderStrategy creates a new instance of InheritableThreadLocalSecurityContextHolderStrategy.
NewThreadLocalSecurityContextHolderStrategy creates a new instance of ThreadLocalSecurityContextHolderStrategy.
# Constants
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
GlobalSecurityContextHolderStrategy is a static, global field-based strategy for managing security contexts.
GlobalSecurityContextKey is the key used to store the security context in a global context.
InheritableSecurityContextKey is the key used to store the security context in context.Context.
InheritableThreadLocalSecurityContextHolderStrategy is a context-based strategy for managing security contexts that can be inherited.
No description provided by the author
No description provided by the author
ThreadLocalSecurityContextHolderStrategy is a context-based strategy for managing security contexts.
ThreadLocalSecurityContextKey is the key used to store the security context in context.Context.
# Interfaces
No description provided by the author
SecurityContextHolderStrategy defines the methods for managing the SecurityContext.