mirror of
https://github.com/therootcompany/telebit.git
synced 2025-02-25 22:38:08 +00:00
7 lines
171 B
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
|
||
|
}
|