Documentation ¶
Overview ¶
Package providers provides a authentication abstraction for the backend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalProvider ¶
type LocalProvider struct {
// contains filtered or unexported fields
}
func NewLocalProvider ¶
func NewLocalProvider(service *services.UserService) *LocalProvider
func (*LocalProvider) Authenticate ¶
func (p *LocalProvider) Authenticate(w http.ResponseWriter, r *http.Request) (services.UserAuthTokenDetail, error)
func (*LocalProvider) Name ¶
func (p *LocalProvider) Name() string
Click to show internal directories.
Click to hide internal directories.