jwt profile and fixes

This commit is contained in:
Livio Amstutz 2022-04-06 08:49:08 +02:00
parent d91fe7aacf
commit 8b1d405f91
No known key found for this signature in database
GPG key ID: 26BB1C2FA5952CF0
5 changed files with 168 additions and 168 deletions

View file

@ -1,6 +1,10 @@
package internal
import "golang.org/x/text/language"
import (
"crypto/rsa"
"golang.org/x/text/language"
)
type User struct {
id string
@ -14,3 +18,7 @@ type User struct {
phoneVerified bool
preferredLanguage language.Tag
}
type Service struct {
keys map[string]*rsa.PublicKey
}