Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Xacc (0.02 sec)

  1. cmd/iam.go

    	if !sys.Initialized() {
    		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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top