1
Fork 0
galene/token/token.go

10 lines
217 B
Go
Raw Normal View History

2021-10-29 23:37:05 +02:00
package token
type Token interface {
Check(host, group string, username *string) (string, []string, error)
}
func Parse(token string, keys []map[string]interface{}) (Token, error) {
return parseJWT(token, keys)
2021-10-29 23:37:05 +02:00
}