-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb02f4f
commit 2fc87d3
Showing
5 changed files
with
264 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package models | ||
|
||
import ( | ||
"github.com/dgrijalva/jwt-go" | ||
) | ||
|
||
type JWTClaimBody struct { | ||
*jwt.StandardClaims | ||
TokenType string | ||
ResourceAccess map[string]Group `json:"resource_access"` | ||
Scope string `json:"scope"` | ||
PreferredUsername string `json:"preferred_username"` | ||
FacilityCode string `json:"facility_code"` | ||
} | ||
|
||
type Group struct { | ||
Roles []string `json:"roles"` | ||
} |
58 changes: 58 additions & 0 deletions
58
services/metrics/swagger_gen/restapi/operations/health/get_health.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
services/metrics/swagger_gen/restapi/operations/health/get_health_parameters.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
55 changes: 55 additions & 0 deletions
55
services/metrics/swagger_gen/restapi/operations/health/get_health_responses.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
87 changes: 87 additions & 0 deletions
87
services/metrics/swagger_gen/restapi/operations/health/get_health_urlbuilder.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.