MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Authenticate

Method Authenticate

pkg/webmiddleware/basic_auth.go:29–29  ·  view source on GitHub ↗

Authenticate the user with the given password and return true if successful. An error may be returned if an internal error occurred.

(username, password string)

Source from the content-addressed store, hash-verified

27 // Authenticate the user with the given password and return true if successful.
28 // An error may be returned if an internal error occurred.
29 Authenticate(username, password string) (ok bool, err error)
30}
31
32type mapAuthenticator struct {

Callers 1

BasicAuthFunction · 0.65

Implementers 1

mapAuthenticatorpkg/webmiddleware/basic_auth.go

Calls

no outgoing calls

Tested by

no test coverage detected