Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/stserrorcode_string.go

    var _STSErrorCode_index = [...]uint16{0, 7, 22, 41, 65, 91, 118, 145, 171, 192, 219, 236, 256, 272, 288}
    
    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]]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 03 20:24:25 UTC 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 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:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top