All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.reactiverse.elasticsearch.client.SecurityClient Maven / Gradle / Ivy

The newest version!
/*
[NOTE] This is an automatically generated file.
       Do not make changes to this file but to the shim code generator.

*/
package io.reactiverse.elasticsearch.client;

import io.vertx.core.*;
import io.vertx.codegen.annotations.*;
import org.elasticsearch.client.*;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.client.security.AuthenticateRequest;
import org.elasticsearch.client.security.AuthenticateResponse;
import org.elasticsearch.client.security.ChangePasswordRequest;
import org.elasticsearch.client.security.ClearApiKeyCacheRequest;
import org.elasticsearch.client.security.ClearPrivilegesCacheRequest;
import org.elasticsearch.client.security.ClearPrivilegesCacheResponse;
import org.elasticsearch.client.security.ClearRealmCacheRequest;
import org.elasticsearch.client.security.ClearRealmCacheResponse;
import org.elasticsearch.client.security.ClearRolesCacheRequest;
import org.elasticsearch.client.security.ClearRolesCacheResponse;
import org.elasticsearch.client.security.ClearSecurityCacheResponse;
import org.elasticsearch.client.security.CreateApiKeyRequest;
import org.elasticsearch.client.security.CreateApiKeyResponse;
import org.elasticsearch.client.security.CreateTokenRequest;
import org.elasticsearch.client.security.CreateTokenResponse;
import org.elasticsearch.client.security.DelegatePkiAuthenticationRequest;
import org.elasticsearch.client.security.DelegatePkiAuthenticationResponse;
import org.elasticsearch.client.security.DeletePrivilegesRequest;
import org.elasticsearch.client.security.DeletePrivilegesResponse;
import org.elasticsearch.client.security.DeleteRoleMappingRequest;
import org.elasticsearch.client.security.DeleteRoleMappingResponse;
import org.elasticsearch.client.security.DeleteRoleRequest;
import org.elasticsearch.client.security.DeleteRoleResponse;
import org.elasticsearch.client.security.DeleteUserRequest;
import org.elasticsearch.client.security.DeleteUserResponse;
import org.elasticsearch.client.security.DisableUserRequest;
import org.elasticsearch.client.security.EnableUserRequest;
import org.elasticsearch.client.security.GetApiKeyRequest;
import org.elasticsearch.client.security.GetApiKeyResponse;
import org.elasticsearch.client.security.GetBuiltinPrivilegesRequest;
import org.elasticsearch.client.security.GetBuiltinPrivilegesResponse;
import org.elasticsearch.client.security.GetPrivilegesRequest;
import org.elasticsearch.client.security.GetPrivilegesResponse;
import org.elasticsearch.client.security.GetRoleMappingsRequest;
import org.elasticsearch.client.security.GetRoleMappingsResponse;
import org.elasticsearch.client.security.GetRolesRequest;
import org.elasticsearch.client.security.GetRolesResponse;
import org.elasticsearch.client.security.GetSslCertificatesRequest;
import org.elasticsearch.client.security.GetSslCertificatesResponse;
import org.elasticsearch.client.security.GetUserPrivilegesRequest;
import org.elasticsearch.client.security.GetUserPrivilegesResponse;
import org.elasticsearch.client.security.GetUsersRequest;
import org.elasticsearch.client.security.GetUsersResponse;
import org.elasticsearch.client.security.HasPrivilegesRequest;
import org.elasticsearch.client.security.HasPrivilegesResponse;
import org.elasticsearch.client.security.InvalidateApiKeyRequest;
import org.elasticsearch.client.security.InvalidateApiKeyResponse;
import org.elasticsearch.client.security.InvalidateTokenRequest;
import org.elasticsearch.client.security.InvalidateTokenResponse;
import org.elasticsearch.client.security.PutPrivilegesRequest;
import org.elasticsearch.client.security.PutPrivilegesResponse;
import org.elasticsearch.client.security.PutRoleMappingRequest;
import org.elasticsearch.client.security.PutRoleMappingResponse;
import org.elasticsearch.client.security.PutRoleRequest;
import org.elasticsearch.client.security.PutRoleResponse;
import org.elasticsearch.client.security.PutUserRequest;
import org.elasticsearch.client.security.PutUserResponse;
import java.io.IOException;
import static java.util.Collections.emptySet;
import static java.util.Collections.singleton;

@VertxGen()
public interface SecurityClient {

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void getUsersAsync(GetUsersRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void putUserAsync(PutUserRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void deleteUserAsync(DeleteUserRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void putRoleMappingAsync(final PutRoleMappingRequest request, final RequestOptions options, final Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void getRoleMappingsAsync(final GetRoleMappingsRequest request, final RequestOptions options, final Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void enableUserAsync(EnableUserRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void disableUserAsync(DisableUserRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void authenticateAsync(RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void hasPrivilegesAsync(HasPrivilegesRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void getUserPrivilegesAsync(RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void clearRealmCacheAsync(ClearRealmCacheRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void clearRolesCacheAsync(ClearRolesCacheRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void clearPrivilegesCacheAsync(ClearPrivilegesCacheRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void clearApiKeyCacheAsync(ClearApiKeyCacheRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void getSslCertificatesAsync(RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void changePasswordAsync(ChangePasswordRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void getRolesAsync(GetRolesRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void putRoleAsync(PutRoleRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void deleteRoleMappingAsync(DeleteRoleMappingRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void deleteRoleAsync(DeleteRoleRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void createTokenAsync(CreateTokenRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void invalidateTokenAsync(InvalidateTokenRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void getBuiltinPrivilegesAsync(final RequestOptions options, final Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void getPrivilegesAsync(final GetPrivilegesRequest request, final RequestOptions options, final Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void putPrivilegesAsync(final PutPrivilegesRequest request, final RequestOptions options, final Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void deletePrivilegesAsync(DeletePrivilegesRequest request, RequestOptions options, Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void createApiKeyAsync(final CreateApiKeyRequest request, final RequestOptions options, final Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void getApiKeyAsync(final GetApiKeyRequest request, final RequestOptions options, final Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void invalidateApiKeyAsync(final InvalidateApiKeyRequest request, final RequestOptions options, final Handler> handler);

    @GenIgnore(GenIgnore.PERMITTED_TYPE)
    void delegatePkiAuthenticationAsync(DelegatePkiAuthenticationRequest request, RequestOptions options, Handler> handler);
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy