Skip to content

Commit

Permalink
added missing metrics files
Browse files Browse the repository at this point in the history
  • Loading branch information
holashchand committed Sep 8, 2023
1 parent bb02f4f commit 2fc87d3
Show file tree
Hide file tree
Showing 5 changed files with 264 additions and 0 deletions.
18 changes: 18 additions & 0 deletions services/metrics/swagger_gen/models/JWTClaimBody.go
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"`
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2fc87d3

Please sign in to comment.