basic

package
v0.0.0-...-85aee89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationProvider

type AuthenticationProvider struct {
	*dao.AuthenticationProvider
}

AuthenticationProvider basic

func NewProvider

func NewProvider(encoder password.Encoder, service clientdetails.Service, cache userdetails.UserCache, preChecker userdetails.PreChecker, postChecker userdetails.PostChecker) *AuthenticationProvider

NewProvider 实例化

func (*AuthenticationProvider) Authenticate

Authenticate 身份验证

func (*AuthenticationProvider) Supports

func (p *AuthenticationProvider) Supports(auth interface{}) bool

Supports 该身份验证提供者是否支持指定的认证信息

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL