Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TokenRevokeType (0.14 seconds)

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

  1. cmd/iam.go

    // 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)
    }
    
    // DeleteUser - delete user (only for long-term users not STS users).
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  2. cmd/iam-store.go

    			continue
    		}
    		if tokenRevokeType != "" {
    			claims, err := getClaimsFromTokenWithSecret(ui.Credentials.SessionToken, secret)
    			if err != nil {
    				continue // skip if token is invalid
    			}
    			// skip if token type is given and does not match
    			if v, _ := claims.Lookup(tokenRevokeTypeClaim); v != tokenRevokeType {
    				continue
    			}
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
Back to Top