Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for jwtclaim (0.04 sec)

  1. cmd/iam.go

    			// parentUser by extracting JWT claims
    			var (
    				jwtClaims *jwt.MapClaims
    				err       error
    			)
    
    			if cred.SessionToken == "" {
    				continue
    			}
    
    			if cred.IsServiceAccount() {
    				jwtClaims, err = auth.ExtractClaims(cred.SessionToken, cred.SecretKey)
    				if err != nil {
    					jwtClaims, err = auth.ExtractClaims(cred.SessionToken, globalActiveCred.SecretKey)
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    }
    
    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 {
    		c.iamUsersMap[key] = u
    	}
    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