Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for tokenRevokeType (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/sts-handlers.go

    		return
    	}
    
    	claims[expClaim] = UTCNow().Add(duration).Unix()
    	claims[parentClaim] = user.AccessKey
    
    	tokenRevokeType := r.Form.Get(stsRevokeTokenType)
    	if tokenRevokeType != "" {
    		claims[tokenRevokeTypeClaim] = tokenRevokeType
    	}
    
    	// Validate that user.AccessKey's policies can be retrieved - it may not
    	// be in case the user is disabled.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  2. cmd/admin-handlers-users.go

    	if isTokenSelfRevoke && tokenRevokeType == "" && !fullRevoke {
    		if cred.IsTemp() {
    			tokenRevokeType, _ = cred.Claims[tokenRevokeTypeClaim].(string)
    		}
    		if tokenRevokeType == "" {
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNoTokenRevokeType), r.URL)
    			return
    		}
    	}
    
    	err := globalIAMSys.RevokeTokens(ctx, user, tokenRevokeType)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  3. cmd/sts-handlers_test.go

    		assumeRole := cr.STSAssumeRole{
    			Client:      s.TestSuiteCommon.client,
    			STSEndpoint: s.endPoint,
    			Options: cr.STSAssumeRoleOptions{
    				AccessKey:       accessKey,
    				SecretKey:       secretKey,
    				TokenRevokeType: tc.tokenType,
    			},
    		}
    
    		value, err := assumeRole.Retrieve()
    		if err != nil {
    			c.Fatalf("err calling assumeRole: %v", err)
    		}
    
    		minioClient, err := minio.New(s.endpoint, &minio.Options{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
Back to Top