Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for extractJWTClaims (0.17 sec)

  1. 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)
Back to top