File: authenticator.go

package info (click to toggle)
golang-github-jcmturner-goidentity.v6 6.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 140 kB
  • sloc: makefile: 2
file content (6 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
package goidentity

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