2ddf122d27
This reverts commit b3e40c6aed
.
19 lines
544 B
Go
19 lines
544 B
Go
package application
|
|
|
|
type ProxyClaims struct {
|
|
UserAttributes map[string]interface{} `json:"user_attributes"`
|
|
}
|
|
|
|
type Claims struct {
|
|
Sub string `json:"sub"`
|
|
Exp int `json:"exp"`
|
|
Email string `json:"email"`
|
|
Verified bool `json:"email_verified"`
|
|
Proxy ProxyClaims `json:"ak_proxy"`
|
|
Name string `json:"name"`
|
|
PreferredUsername string `json:"preferred_username"`
|
|
Groups []string `json:"groups"`
|
|
|
|
RawToken string
|
|
}
|