1package goidentity 2 3type Authenticator interface { 4 Authenticate() (Identity, bool, error) 5 Mechanism() string // gives the name of the type of authentication mechanism 6} 7
1package goidentity 2 3type Authenticator interface { 4 Authenticate() (Identity, bool, error) 5 Mechanism() string // gives the name of the type of authentication mechanism 6} 7