Commit 330b5809 authored by Vijay Kumar Chauhan's avatar Vijay Kumar Chauhan
Browse files

Merge branch 'rb_jwtClaimsChange' into 'devbranch'

Added jwt.RegisteredClaims field in Principal struct

See merge request !286
parents b1cf4464 89a2def1
Branches
2 merge requests!288Release v1.2.16,!286Added jwt.RegisteredClaims field in Principal struct
Showing with 2 additions and 0 deletions
......@@ -12,6 +12,7 @@ import (
"time"
"github.com/dgraph-io/dgo/v2"
"github.com/golang-jwt/jwt/v5"
"corelab.mkcl.org/MKCLOS/coredevelopmentplatform/corepkgv2/utiliymdl/guidmdl"
"github.com/tidwall/sjson"
......@@ -605,6 +606,7 @@ type Principal struct {
HitsCount int `json:"hitsCount"`
Token string `json:"token"`
Metadata string `json:"metadata"`
jwt.RegisteredClaims
}
// // SetPrincipalObject - Set Principal object to BLHolder
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment