Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for parare (0.2 sec)

  1. internal/jwt/parser.go

    package jwt
    
    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE
    
    import (
    	"bytes"
    	"crypto"
    	"crypto/hmac"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"hash"
    	"sync"
    	"time"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser_test.go

    }
    
    func TestParseSelectStatement(t *testing.T) {
    	exp, err := ParseSelectStatement("select _3,_1,_2 as 'mytest'  from S3object")
    	if err != nil {
    		t.Fatalf("parse alias sql error: %v", err)
    	}
    	if exp.selectAST.Expression.Expressions[2].As != "mytest" {
    		t.Fatalf("parse alias sql error: %s not equal %s", exp.selectAST.Expression.Expressions[2].As, err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. cmd/object-api-errors.go

    		}
    		if len(params) >= 2 {
    			apiErr.Object = decodeDirObject(params[1])
    		}
    		if len(params) >= 3 {
    			apiErr.VersionID = params[2]
    		}
    		return apiErr
    	case errMethodNotAllowed.Error():
    		apiErr := MethodNotAllowed{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		if len(params) >= 2 {
    			apiErr.Object = decodeDirObject(params[1])
    		}
    		return apiErr
    	case errFileNotFound.Error():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. docs/sts/client_grants/__init__.py

                        error_msg=message % response.status,
                    )
    
                return parse_grants_response(response.data)
    
            def parse_grants_response(data):
                """
                Parser for AssumeRoleWithClientGrants response
    
                :param data: Response data for AssumeRoleWithClientGrants request
                :return: dict
                """
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  5. docs/sts/web-identity.md

    | Params     | Value    |
    | :--        | :--      |
    | *Type*     | *String* |
    | *Required* | *No*     |
    
    ### Version
    
    Indicates STS API version information, the only supported value is '2011-06-15'. This value is borrowed from AWS STS API documentation for compatibility reasons.
    
    | Params     | Value    |
    | :--        | :--      |
    | *Type*     | *String* |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  6. cmd/signature-v2_test.go

    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (6) Should not error signature matches with extra query params.
    		{
    			queryParams: map[string]string{
    				"response-content-disposition": "attachment; filename=\"4K%2d4M.txt\"",
    			},
    			expected: ErrNone,
    		},
    		// (7) Should not error signature matches with no special query params.
    		{
    			queryParams: map[string]string{},
    			expected:    ErrNone,
    		},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  7. cmd/kms-router.go

    	KMSVersions := []string{
    		kmsAPIVersionPrefix,
    	}
    
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    
    	for _, version := range KMSVersions {
    		// KMS Status APIs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  8. cmd/bootstrap-peer-server.go

    	var cmdLines []string
    	for _, ep := range globalEndpoints {
    		cmdLines = append(cmdLines, ep.CmdLine)
    	}
    	scfg.CmdLines = cmdLines
    	return scfg
    }
    
    func (s *bootstrapRESTServer) VerifyHandler(params *grid.MSS) (*ServerSystemConfig, *grid.RemoteErr) {
    	return getServerSystemCfg(), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. internal/config/identity/openid/jwt.go

    	azpClaim = "azp"
    )
    
    // Validate - validates the id_token.
    func (r *Config) Validate(ctx context.Context, arn arn.ARN, token, accessToken, dsecs string, claims jwtgo.MapClaims) error {
    	jp := new(jwtgo.Parser)
    	jp.ValidMethods = []string{
    		"RS256", "RS384", "RS512",
    		"ES256", "ES384", "ES512",
    		"HS256", "HS384", "HS512",
    		"RS3256", "RS3384", "RS3512",
    		"ES3256", "ES3384", "ES3512",
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  10. internal/config/identity/openid/openid.go

    			// Generate role ARN as combination of provider domain and
    			// prefix of client ID.
    			domain := configURLDomain
    			if domain == "" {
    				// Attempt to parse the JWKs URI.
    				domain = p.JWKS.URL.Hostname()
    				if domain == "" {
    					return c, config.Errorf("unable to parse a domain from the OpenID config")
    				}
    			}
    			if p.ClientID == "" {
    				return c, config.Errorf("client ID must not be empty")
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
Back to top