This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2021-09-08 18:04:56 +00:00
|
|
|
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"`
|
2021-12-02 13:19:57 +00:00
|
|
|
|
|
|
|
RawToken string
|
2021-09-08 18:04:56 +00:00
|
|
|
}
|