Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountIDFromToken ¶
func GetAccountIDFromToken(logger *shim.ChaincodeLogger, auth string) (string, error)
Types ¶
type ExtendedJwsClaimSet ¶
type ExtendedJwsClaimSet struct { *jws.ClaimSet AaccessTokenHash string `json:"at_hash"` CustomRoles string `json:"custom:roles"` EventID string `json:"event_id"` TokenUse string `json:"token_use"` AuthTime int `json:"auth_time"` CognitoUserName string `json:"cognito:username"` }
ExtendedJwsClaimSet extends JwsClaimSet
type JOSEHeader ¶
Click to show internal directories.
Click to hide internal directories.