Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateUserWithClaims (0.09 sec)

  1. cmd/iam-store.go

    			policy, _ = c.iamGroupPolicyMap.Load(group)
    		}
    
    		for _, p := range policy.toSlice() {
    			policies.Add(p)
    		}
    	}
    
    	return policies.ToSlice(), 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()
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top