package
0.2.0-beta-5
Repository: https://github.com/kontesthq/go-security.git
Documentation: pkg.go.dev

# Functions

NewAbstractAuthenticationToken creates a New AbstractAuthenticationToken.
NewAbstractUserDetailsAuthenticationProvider initializes the provider.
NewAuthenticatedUsernamePasswordAuthenticationToken creates a New authenticated token with authorities.
NewAuthenticationException constructs a New AuthenticationException with a message and a root cause.
NewAuthenticationExceptionWithoutCause constructs a New AuthenticationException with a message and no root cause.
NewCompromisedPasswordDecision creates a New instance of CompromisedPasswordDecision.
NewDaoAuthenticationProvider initializes the DaoAuthenticationProvider.
NewDefaultAuthenticationEventPublisher creates a New instance of DefaultAuthenticationEventPublisher.
NewDefaultPostAuthenticationChecks creates a New instance of DefaultPostAuthenticationChecks.
NewDefaultPreAuthenticationChecks creates a New instance of DefaultPreAuthenticationChecks.
No description provided by the author
NewUsernamePasswordAuthenticationToken creates a New unauthenticated token with principal and credentials.

# Structs

No description provided by the author
AbstractAuthenticationToken is a base implementation for Authentication objects.
No description provided by the author
No description provided by the author
AuthenticationException is a concrete type for authentication-related exceptions.
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
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
DefaultAuthenticationEventPublisher is the default implementation of AuthenticationEventPublisher.
DefaultPostAuthenticationChecks for post-authentication checks.
DefaultPreAuthenticationChecks for pre-authentication checks.
No description provided by the author
No description provided by the author
No description provided by the author
NullEventPublisher is an implementation of AuthenticationEventPublisher that does nothing.
No description provided by the author
No description provided by the author
No description provided by the author
SimpleGrantedAuthority is a simple implementation of GrantedAuthority.
No description provided by the author
UsernamePasswordAuthenticationToken represents an Authentication implementation for a username/password.

# Interfaces

Other necessary types and interfaces would need to be defined below.
Authentication represents a token for an authentication request or for an authenticated principal.
AuthenticationEventPublisher defines an interface for publishing authentication events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GrantedAuthority represents a role or authority granted to a user.
Subject represents a subject that contains principals.
UserDetails represents user information for authentication.
No description provided by the author
No description provided by the author
UserDetailsService handles user details.