Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
type Identity struct { Id string `json:"id"` Traits IdentityTraits `json:"traits"` }
type IdentityTraits ¶
type IdentityTraits struct { Email string `json:"email"` Username string `json:"username"` Admin bool `json:"admin"` }
see https://www.ory.sh/kratos/docs/reference/api#check-who-the-current-http-session-belongs-to
Click to show internal directories.
Click to hide internal directories.