open-vault/vendor/gopkg.in/jcmturner/goidentity.v3/authenticator.go

7 lines
171 B
Go

package goidentity
type Authenticator interface {
Authenticate() (Identity, bool, error)
Mechanism() string // gives the name of the type of authentication mechanism
}