Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Revoke (0.34 sec)

  1. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Description:    "The security token included in the request is invalid",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrNoTokenRevokeType: {
    		Code:           "InvalidArgument",
    		Description:    "No token revoke type specified and one could not be inferred from the request",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminNoSuchAccessKey: {
    		Code:           "XMinioAdminNoSuchAccessKey",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (3)
  3. cmd/iam-store.go

    			}
    		}
    		if err := store.deleteUserIdentity(ctx, ui.Credentials.AccessKey, stsUser); err != nil {
    			return err
    		}
    		delete(cache.iamSTSAccountsMap, ui.Credentials.AccessKey)
    		revoked = true
    	}
    
    	if revoked {
    		cache.updatedAt = time.Now()
    	}
    
    	return nil
    }
    
    // DeleteUsers - given a set of users or access keys, deletes them along with
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 87.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          val args =
            method.parameters
              .map { sampleValues[it.type] ?: error("no sample value for ${it.type}") }
              .toTypedArray()
    
          method.invoke(solo.eventListener, *args)
          method.invoke(composite, *args)
    
          val expectedEvent = solo.takeEvent()
          assertThat(solo.eventSequence).isEmpty()
    
          assertThat(left.takeEvent()::class).isEqualTo(expectedEvent::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users_test.go

    	c.Assert(groupInfo.Policy, policy)
    	c.Assert(groupInfo.Status, string(madmin.GroupEnabled))
    
    	// 5. Disable/enable the group and verify that user access is revoked/restored.
    	err = s.adm.SetGroupStatus(ctx, group, madmin.GroupDisabled)
    	if err != nil {
    		c.Fatalf("group set status err: %v", err)
    	}
    	groupInfo, err = s.adm.GetGroupDescription(ctx, group)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 50.6K bytes
    - Viewed (0)
  6. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    	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
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Specifies a listener instance that caches should notify each time an entry is removed for any
       * {@linkplain RemovalCause reason}. Each cache created by this builder will invoke this listener
       * as part of the routine maintenance described in the class documentation above.
       *
       * <p><b>Warning:</b> after invoking this method, do not continue to use <i>this</i> cache builder
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       * ListenableFuture#addListener addListener}.
       *
       * @param future The future attach the callback to.
       * @param callback The callback to invoke when {@code future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       * @since 10.0
       */
      public static <V extends @Nullable Object> void addCallback(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  9. okhttp/api/jvm/okhttp.api

    	public abstract fun withWriteTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;
    	public abstract fun writeTimeoutMillis ()I
    }
    
    public final class okhttp3/Interceptor$Companion {
    	public final fun invoke (Lkotlin/jvm/functions/Function1;)Lokhttp3/Interceptor;
    }
    
    public final class okhttp3/MediaType {
    	public static final field Companion Lokhttp3/MediaType$Companion;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Specifies a listener instance that caches should notify each time an entry is removed for any
       * {@linkplain RemovalCause reason}. Each cache created by this builder will invoke this listener
       * as part of the routine maintenance described in the class documentation above.
       *
       * <p><b>Warning:</b> after invoking this method, do not continue to use <i>this</i> cache builder
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
Back to top