Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for auth (0.3 sec)

  1. cmd/auth-handler.go

    		return authTypeAnonymous
    	}
    	return authTypeUnknown
    }
    
    func validateAdminSignature(ctx context.Context, r *http.Request, region string) (auth.Credentials, bool, APIErrorCode) {
    	var cred auth.Credentials
    	var owner bool
    	s3Err := ErrAccessDenied
    	if _, ok := r.Header[xhttp.AmzContentSha256]; ok &&
    		getRequestAuthType(r) == authTypeSigned {
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    		return ErrSTSAccessDenied
    	}
    }
    
    func checkAssumeRoleAuth(ctx context.Context, r *http.Request) (auth.Credentials, APIErrorCode) {
    	if !isRequestSignatureV4(r) {
    		return auth.Credentials{}, ErrAccessDenied
    	}
    
    	s3Err := isReqAuthenticated(ctx, r, globalSite.Region, serviceSTS)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	user, _, s3Err := getReqAccessKeyV4(r, globalSite.Region, serviceSTS)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  3. cmd/iam.go

    	if !sys.Initialized() {
    		return auth.Credentials{}, time.Time{}, errServerNotInitialized
    	}
    
    	if parentUser == "" {
    		return auth.Credentials{}, time.Time{}, errInvalidArgument
    	}
    
    	if len(opts.accessKey) > 0 && len(opts.secretKey) == 0 {
    		return auth.Credentials{}, time.Time{}, auth.ErrNoSecretKeyWithAccessKey
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                RemoteRepository repo = RepositoryUtils.toRepo(repository);
                org.eclipse.aether.repository.Authentication auth = selector.getAuthentication(repo);
                if (auth != null) {
                    repo = new RemoteRepository.Builder(repo)
                            .setAuthentication(auth)
                            .build();
                    AuthenticationContext authCtx = AuthenticationContext.forRepository(null, repo);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  5. cmd/signature-v4.go

    func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// Server region.
    	region := globalSite.Region
    
    	// Parse credential tag.
    	credHeader, s3Err := parseCredentialHeader("Credential="+formValues.Get(xhttp.AmzCredential), region, serviceS3)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	r := &http.Request{Header: formValues}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. cmd/bucket-policy.go

    	return &PolicySys{}
    }
    
    func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	m := make(map[string][]string)
    	if d := r.Form.Get("DurationSeconds"); d != "" {
    		m["DurationSeconds"] = []string{d}
    	}
    	return m
    }
    
    func getConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	currTime := UTCNow()
    
    	var (
    		username = cred.AccessKey
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    		return updatedAt, errIAMActionNotAllowed
    	}
    
    	uinfo := newUserIdentity(auth.Credentials{
    		AccessKey: accessKey,
    		SecretKey: cred.SecretKey,
    		Status: func() string {
    			switch string(status) {
    			case string(madmin.AccountEnabled), string(auth.AccountOn):
    				return auth.AccountOn
    			}
    			return auth.AccountOff
    		}(),
    	})
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. fastapi/security/http.py

            scheme: str,
            scheme_name: Optional[str] = None,
            description: Optional[str] = None,
            auto_error: bool = True,
        ):
            self.model = HTTPBaseModel(scheme=scheme, description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        async def __call__(
            self, request: Request
        ) -> Optional[HTTPAuthorizationCredentials]:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. .cm/plugins/filters/byCodeowner/index.js

     **/
    
    const { Octokit } = require("@octokit/rest");
    const ignore = require('./ignore/index.js');
    
    async function loadCodeownersFile(owner, repo, auth, pathToCodeOwners) {
        const octokit = new Octokit({
            request: { fetch },
            auth,
        });
    
        const res = await octokit.repos.getContent({
            owner,
            repo,
            path: pathToCodeOwners
        });
    
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        val responseCode = userResponse.code
    
        val method = userResponse.request.method
        when (responseCode) {
          HTTP_PROXY_AUTH -> {
            val selectedProxy = route!!.proxy
            if (selectedProxy.type() != Proxy.Type.HTTP) {
              throw ProtocolException("Received HTTP_PROXY_AUTH (407) code while not using proxy")
            }
            return client.proxyAuthenticator.authenticate(route, userResponse)
          }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
Back to top