telebit/vendor/github.com/jcmturner/goidentity/v6/authenticator.go

7 lines
171 B
Go
Raw Normal View History

2020-06-03 06:18:04 +00:00
package goidentity
type Authenticator interface {
Authenticate() (Identity, bool, error)
Mechanism() string // gives the name of the type of authentication mechanism
}