Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RevokeTokens (0.04 sec)

  1. cmd/iam.go

    		}
    	}
    	return updatedAt, nil
    }
    
    // RevokeTokens - revokes all STS tokens, or those of specified type, for a user
    // If `tokenRevokeType` is empty, all tokens are revoked.
    func (sys *IAMSys) RevokeTokens(ctx context.Context, accessKey, tokenRevokeType string) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	return sys.store.RevokeTokens(ctx, accessKey, tokenRevokeType)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, encryptedData)
    }
    
    // RevokeTokens - POST /minio/admin/v3/revoke-tokens/{userProvider}
    func (a adminAPIHandlers) RevokeTokens(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    	}
    
    	cache.iamSTSAccountsMap[accessKey] = u
    	cache.updatedAt = time.Now()
    
    	return u.UpdatedAt, nil
    }
    
    // RevokeTokens - revokes all temporary credentials, or those with matching type,
    // associated with the parent user.
    func (store *IAMStoreSys) RevokeTokens(ctx context.Context, parentUser string, tokenRevokeType string) error {
    	if parentUser == "" {
    		return errInvalidArgument
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
Back to top