Skip to content

Commit

Permalink
Adding UserGroupNames in JwtToken
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodkfp committed Feb 27, 2023
1 parent b982906 commit 705545b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/Token.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ type JwtToken struct {
UserName string `json:"name,omitempty"`
DisplayName string `json:"displayName,omitempty"`
UserGroupIDs []uuid.UUID `json:"usergroupIds,omitempty"`
UserGroupNames []string `json:"usergroupNames,omitempty"`
TenantID uuid.UUID `json:"tenant,omitempty"`
TenantName string `json:"tenantName,omitempty"`
ExternalID string `json:"externalId,omitempty"`
Expand Down

0 comments on commit 705545b

Please sign in to comment.