Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for STSErrorCode (0.16 sec)

  1. cmd/stserrorcode_string.go

    func (i STSErrorCode) String() string {
    	if i < 0 || i >= STSErrorCode(len(_STSErrorCode_index)-1) {
    		return "STSErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _STSErrorCode_name[_STSErrorCode_index[i]:_STSErrorCode_index[i+1]]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 03 20:24:25 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. cmd/sts-errors.go

    	} `xml:"Error"`
    	RequestID string `xml:"RequestId"`
    }
    
    // STSErrorCode type of error status.
    type STSErrorCode int
    
    //go:generate stringer -type=STSErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html
    const (
    	ErrSTSNone STSErrorCode = iota
    	ErrSTSAccessDenied
    	ErrSTSMissingParameter
    	ErrSTSInvalidParameterValue
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    		Queries(stsAction, customTokenIdentity).
    		Queries(stsVersion, stsAPIVersion)
    }
    
    func apiToSTSError(authErr APIErrorCode) (stsErrCode STSErrorCode) {
    	switch authErr {
    	case ErrSignatureDoesNotMatch, ErrInvalidAccessKeyID, ErrAccessKeyDisabled:
    		return ErrSTSAccessDenied
    	case ErrServerNotInitialized:
    		return ErrSTSNotInitialized
    	case ErrInternalError:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top