chore(example): implement OpenID Provider
This commit is contained in:
parent
d740fe1710
commit
d91fe7aacf
9 changed files with 1223 additions and 5 deletions
16
example/server/internal/user.go
Normal file
16
example/server/internal/user.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package internal
|
||||
|
||||
import "golang.org/x/text/language"
|
||||
|
||||
type User struct {
|
||||
id string
|
||||
username string
|
||||
password string
|
||||
firstname string
|
||||
lastname string
|
||||
email string
|
||||
emailVerified bool
|
||||
phone string
|
||||
phoneVerified bool
|
||||
preferredLanguage language.Tag
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue