Documentation
¶
Index ¶
- type AnonymousAuthenticationProvider
- type AuthenticationProviderManager
- type PreAuthenticatedAuthenticationProvider
- func (this *PreAuthenticatedAuthenticationProvider) Authenticate(authentication Authentication) (Authentication, AuthenticationException)
- func (this PreAuthenticatedAuthenticationProvider) New(service AuthenticationUserDetailsService) *PreAuthenticatedAuthenticationProvider
- func (this *PreAuthenticatedAuthenticationProvider) Supports(authentication Authentication) bool
- type RememberMeAuthenticationProvider
- type UserDetailsAuthenticationProvider
- func (this *UserDetailsAuthenticationProvider) Authenticate(authentication Authentication) (Authentication, AuthenticationException)
- func (this UserDetailsAuthenticationProvider) New(service UserDetailsService) *UserDetailsAuthenticationProvider
- func (this *UserDetailsAuthenticationProvider) SetEncoder(encoder PasswordEncoder)
- func (this *UserDetailsAuthenticationProvider) Supports(authentication Authentication) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnonymousAuthenticationProvider ¶
type AnonymousAuthenticationProvider struct {
Component
}
func (*AnonymousAuthenticationProvider) Authenticate ¶
func (this *AnonymousAuthenticationProvider) Authenticate(authentication Authentication) (Authentication, AuthenticationException)
func (*AnonymousAuthenticationProvider) Supports ¶
func (this *AnonymousAuthenticationProvider) Supports(authentication Authentication) bool
type AuthenticationProviderManager ¶
type AuthenticationProviderManager struct {
Service
Manager
// contains filtered or unexported fields
}
func (*AuthenticationProviderManager) Authenticate ¶
func (this *AuthenticationProviderManager) Authenticate(authentication Authentication) (Authentication, AuthenticationException)
type PreAuthenticatedAuthenticationProvider ¶ added in v0.3.0
type PreAuthenticatedAuthenticationProvider struct {
// contains filtered or unexported fields
}
PreAuthenticatedAuthenticationProvider processes [PreAuthenticatedAuthenticationToken] instances.
It delegates user retrieval to an [AuthenticationUserDetailsService] and validates account status.
func (*PreAuthenticatedAuthenticationProvider) Authenticate ¶ added in v0.3.0
func (this *PreAuthenticatedAuthenticationProvider) Authenticate(authentication Authentication) (Authentication, AuthenticationException)
Authenticate() implements [AuthenticationProvider.Authenticate].
func (PreAuthenticatedAuthenticationProvider) New ¶ added in v0.3.0
func (this PreAuthenticatedAuthenticationProvider) New(service AuthenticationUserDetailsService) *PreAuthenticatedAuthenticationProvider
New() creates a new PreAuthenticatedAuthenticationProvider.
func (*PreAuthenticatedAuthenticationProvider) Supports ¶ added in v0.3.0
func (this *PreAuthenticatedAuthenticationProvider) Supports(authentication Authentication) bool
Supports() implements [AuthenticationProvider.Supports].
type RememberMeAuthenticationProvider ¶
type RememberMeAuthenticationProvider struct {
Component
}
func (*RememberMeAuthenticationProvider) Authenticate ¶
func (this *RememberMeAuthenticationProvider) Authenticate(authentication Authentication) (Authentication, AuthenticationException)
func (*RememberMeAuthenticationProvider) Supports ¶
func (this *RememberMeAuthenticationProvider) Supports(authentication Authentication) bool
type UserDetailsAuthenticationProvider ¶
type UserDetailsAuthenticationProvider struct {
// contains filtered or unexported fields
}
func (*UserDetailsAuthenticationProvider) Authenticate ¶
func (this *UserDetailsAuthenticationProvider) Authenticate(authentication Authentication) (Authentication, AuthenticationException)
func (UserDetailsAuthenticationProvider) New ¶
func (this UserDetailsAuthenticationProvider) New(service UserDetailsService) *UserDetailsAuthenticationProvider
func (*UserDetailsAuthenticationProvider) SetEncoder ¶
func (this *UserDetailsAuthenticationProvider) SetEncoder(encoder PasswordEncoder)
func (*UserDetailsAuthenticationProvider) Supports ¶
func (this *UserDetailsAuthenticationProvider) Supports(authentication Authentication) bool
Click to show internal directories.
Click to hide internal directories.