Discover Packages
github.com/nduyphuong/gorya
internal
api
middleware
package
Version:
v0.0.0-...-affb33e
Opens a new window with list of versions in this module.
Published: Mar 29, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Claims struct {
ResourceAccess client `json:"resource_access,omitempty"`
JTI string `json:"jti,omitempty"`
}
Claims claims component of jwt contains many fields , we need only roles of GoryaServiceClient
"gorya":{"gorya":{"roles":["get-timezone","list-policy","delete-policy"]}},
Source Files
¶
Click to show internal directories.
Click to hide internal directories.