Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareHashAndPassword ¶
CompareHashAndPassword ..
func NewProvider ¶
NewProvider creates a new local authentication provider.
Types ¶
type Provider ¶
type Provider struct{}
Provider a local authentication provider. TODO: support configuration later
func (*Provider) Authenticate ¶
func (p *Provider) Authenticate(loginUser, password string) (*auth.ExternalAccount, error)
Authenticate ..
Click to show internal directories.
Click to hide internal directories.