1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-12 19:55:59 +01:00
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
}