- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for extractJWTClaims (0.8 sec)
-
cmd/iam-etcd-store.go
return nil } if u.Credentials.AccessKey == "" { u.Credentials.AccessKey = user } if u.Credentials.SessionToken != "" { jwtClaims, err := extractJWTClaims(u) if err != nil { if u.Credentials.IsTemp() { // We should delete such that the client can re-request // for the expiring credentials.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 13.6K bytes - Viewed (0) -
cmd/iam-object-store.go
return nil } if u.Credentials.AccessKey == "" { u.Credentials.AccessKey = user } if u.Credentials.SessionToken != "" { jwtClaims, err := extractJWTClaims(u) if err != nil { if u.Credentials.IsTemp() { // We should delete such that the client can re-request // for the expiring credentials.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 19.9K bytes - Viewed (0) -
cmd/iam-store.go
} return policies, mp.UpdatedAt, nil } func (c *iamCache) updateUserWithClaims(key string, u UserIdentity) error { if u.Credentials.SessionToken != "" { jwtClaims, err := extractJWTClaims(u) if err != nil { return err } u.Credentials.Claims = jwtClaims.Map() } if u.Credentials.IsTemp() && !u.Credentials.IsServiceAccount() { c.iamSTSAccountsMap[key] = u } else {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Apr 27 10:04:10 GMT 2024 - 75.2K bytes - Viewed (2) -
cmd/iam.go
return UserIdentity{}, nil, errServerNotInitialized } acc, ok := sys.store.GetUser(accessKey) if !ok { return UserIdentity{}, nil, errNoSuchAccount } jwtClaims, err := extractJWTClaims(acc) if err != nil { return UserIdentity{}, nil, err } return acc, jwtClaims, nil } // GetClaimsForSvcAcc - gets the claims associated with the service account.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:28:16 GMT 2024 - 71.1K bytes - Viewed (1)