Class Auth.AuthClient
Client for Auth
Inheritance
Namespace: Etcdserverpb
Assembly: cs.temp.dll.dll
Syntax
public class AuthClient : grpc.ClientBase<Auth.AuthClient>
Constructors
AuthClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected AuthClient()
AuthClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected AuthClient(ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBaseConfiguration | configuration | The client configuration. |
AuthClient(grpc.CallInvoker)
Creates a new client for Auth that uses a custom CallInvoker
.
Declaration
public AuthClient(grpc.CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
grpc.CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
AuthClient(grpc.Channel)
Creates a new client for Auth
Declaration
public AuthClient(grpc.Channel channel)
Parameters
Type | Name | Description |
---|---|---|
grpc.Channel | channel | The channel to use to make remote calls. |
Methods
AuthDisable(AuthDisableRequest, grpc.CallOptions)
AuthDisable disables authentication.
Declaration
public virtual AuthDisableResponse AuthDisable(AuthDisableRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthDisableRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthDisableResponse | The response received from the server. |
AuthDisable(AuthDisableRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
AuthDisable disables authentication.
Declaration
public virtual AuthDisableResponse AuthDisable(AuthDisableRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthDisableRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthDisableResponse | The response received from the server. |
AuthDisableAsync(AuthDisableRequest, grpc.CallOptions)
AuthDisable disables authentication.
Declaration
public virtual grpc.AsyncUnaryCall<AuthDisableResponse> AuthDisableAsync(AuthDisableRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthDisableRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthDisableResponse> | The call object. |
AuthDisableAsync(AuthDisableRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
AuthDisable disables authentication.
Declaration
public virtual grpc.AsyncUnaryCall<AuthDisableResponse> AuthDisableAsync(AuthDisableRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthDisableRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthDisableResponse> | The call object. |
AuthEnable(AuthEnableRequest, grpc.CallOptions)
AuthEnable enables authentication.
Declaration
public virtual AuthEnableResponse AuthEnable(AuthEnableRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthEnableRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthEnableResponse | The response received from the server. |
AuthEnable(AuthEnableRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
AuthEnable enables authentication.
Declaration
public virtual AuthEnableResponse AuthEnable(AuthEnableRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthEnableRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthEnableResponse | The response received from the server. |
AuthEnableAsync(AuthEnableRequest, grpc.CallOptions)
AuthEnable enables authentication.
Declaration
public virtual grpc.AsyncUnaryCall<AuthEnableResponse> AuthEnableAsync(AuthEnableRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthEnableRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthEnableResponse> | The call object. |
AuthEnableAsync(AuthEnableRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
AuthEnable enables authentication.
Declaration
public virtual grpc.AsyncUnaryCall<AuthEnableResponse> AuthEnableAsync(AuthEnableRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthEnableRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthEnableResponse> | The call object. |
Authenticate(AuthenticateRequest, grpc.CallOptions)
Authenticate processes an authenticate request.
Declaration
public virtual AuthenticateResponse Authenticate(AuthenticateRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthenticateRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthenticateResponse | The response received from the server. |
Authenticate(AuthenticateRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
Authenticate processes an authenticate request.
Declaration
public virtual AuthenticateResponse Authenticate(AuthenticateRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthenticateRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthenticateResponse | The response received from the server. |
AuthenticateAsync(AuthenticateRequest, grpc.CallOptions)
Authenticate processes an authenticate request.
Declaration
public virtual grpc.AsyncUnaryCall<AuthenticateResponse> AuthenticateAsync(AuthenticateRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthenticateRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthenticateResponse> | The call object. |
AuthenticateAsync(AuthenticateRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
Authenticate processes an authenticate request.
Declaration
public virtual grpc.AsyncUnaryCall<AuthenticateResponse> AuthenticateAsync(AuthenticateRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthenticateRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthenticateResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override Auth.AuthClient NewInstance(ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
Auth.AuthClient |
RoleAdd(AuthRoleAddRequest, grpc.CallOptions)
RoleAdd adds a new role.
Declaration
public virtual AuthRoleAddResponse RoleAdd(AuthRoleAddRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleAddRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthRoleAddResponse | The response received from the server. |
RoleAdd(AuthRoleAddRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleAdd adds a new role.
Declaration
public virtual AuthRoleAddResponse RoleAdd(AuthRoleAddRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleAddRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthRoleAddResponse | The response received from the server. |
RoleAddAsync(AuthRoleAddRequest, grpc.CallOptions)
RoleAdd adds a new role.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleAddResponse> RoleAddAsync(AuthRoleAddRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleAddRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleAddResponse> | The call object. |
RoleAddAsync(AuthRoleAddRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleAdd adds a new role.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleAddResponse> RoleAddAsync(AuthRoleAddRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleAddRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleAddResponse> | The call object. |
RoleDelete(AuthRoleDeleteRequest, grpc.CallOptions)
RoleDelete deletes a specified role.
Declaration
public virtual AuthRoleDeleteResponse RoleDelete(AuthRoleDeleteRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleDeleteRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthRoleDeleteResponse | The response received from the server. |
RoleDelete(AuthRoleDeleteRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleDelete deletes a specified role.
Declaration
public virtual AuthRoleDeleteResponse RoleDelete(AuthRoleDeleteRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleDeleteRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthRoleDeleteResponse | The response received from the server. |
RoleDeleteAsync(AuthRoleDeleteRequest, grpc.CallOptions)
RoleDelete deletes a specified role.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleDeleteResponse> RoleDeleteAsync(AuthRoleDeleteRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleDeleteRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleDeleteResponse> | The call object. |
RoleDeleteAsync(AuthRoleDeleteRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleDelete deletes a specified role.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleDeleteResponse> RoleDeleteAsync(AuthRoleDeleteRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleDeleteRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleDeleteResponse> | The call object. |
RoleGet(AuthRoleGetRequest, grpc.CallOptions)
RoleGet gets detailed role information.
Declaration
public virtual AuthRoleGetResponse RoleGet(AuthRoleGetRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleGetRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthRoleGetResponse | The response received from the server. |
RoleGet(AuthRoleGetRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleGet gets detailed role information.
Declaration
public virtual AuthRoleGetResponse RoleGet(AuthRoleGetRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleGetRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthRoleGetResponse | The response received from the server. |
RoleGetAsync(AuthRoleGetRequest, grpc.CallOptions)
RoleGet gets detailed role information.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleGetResponse> RoleGetAsync(AuthRoleGetRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleGetRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleGetResponse> | The call object. |
RoleGetAsync(AuthRoleGetRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleGet gets detailed role information.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleGetResponse> RoleGetAsync(AuthRoleGetRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleGetRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleGetResponse> | The call object. |
RoleGrantPermission(AuthRoleGrantPermissionRequest, grpc.CallOptions)
RoleGrantPermission grants a permission of a specified key or range to a specified role.
Declaration
public virtual AuthRoleGrantPermissionResponse RoleGrantPermission(AuthRoleGrantPermissionRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleGrantPermissionRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthRoleGrantPermissionResponse | The response received from the server. |
RoleGrantPermission(AuthRoleGrantPermissionRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleGrantPermission grants a permission of a specified key or range to a specified role.
Declaration
public virtual AuthRoleGrantPermissionResponse RoleGrantPermission(AuthRoleGrantPermissionRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleGrantPermissionRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthRoleGrantPermissionResponse | The response received from the server. |
RoleGrantPermissionAsync(AuthRoleGrantPermissionRequest, grpc.CallOptions)
RoleGrantPermission grants a permission of a specified key or range to a specified role.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleGrantPermissionResponse> RoleGrantPermissionAsync(AuthRoleGrantPermissionRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleGrantPermissionRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleGrantPermissionResponse> | The call object. |
RoleGrantPermissionAsync(AuthRoleGrantPermissionRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleGrantPermission grants a permission of a specified key or range to a specified role.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleGrantPermissionResponse> RoleGrantPermissionAsync(AuthRoleGrantPermissionRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleGrantPermissionRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleGrantPermissionResponse> | The call object. |
RoleList(AuthRoleListRequest, grpc.CallOptions)
RoleList gets lists of all roles.
Declaration
public virtual AuthRoleListResponse RoleList(AuthRoleListRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleListRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthRoleListResponse | The response received from the server. |
RoleList(AuthRoleListRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleList gets lists of all roles.
Declaration
public virtual AuthRoleListResponse RoleList(AuthRoleListRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleListRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthRoleListResponse | The response received from the server. |
RoleListAsync(AuthRoleListRequest, grpc.CallOptions)
RoleList gets lists of all roles.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleListResponse> RoleListAsync(AuthRoleListRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleListRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleListResponse> | The call object. |
RoleListAsync(AuthRoleListRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleList gets lists of all roles.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleListResponse> RoleListAsync(AuthRoleListRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleListRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleListResponse> | The call object. |
RoleRevokePermission(AuthRoleRevokePermissionRequest, grpc.CallOptions)
RoleRevokePermission revokes a key or range permission of a specified role.
Declaration
public virtual AuthRoleRevokePermissionResponse RoleRevokePermission(AuthRoleRevokePermissionRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleRevokePermissionRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthRoleRevokePermissionResponse | The response received from the server. |
RoleRevokePermission(AuthRoleRevokePermissionRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleRevokePermission revokes a key or range permission of a specified role.
Declaration
public virtual AuthRoleRevokePermissionResponse RoleRevokePermission(AuthRoleRevokePermissionRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleRevokePermissionRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthRoleRevokePermissionResponse | The response received from the server. |
RoleRevokePermissionAsync(AuthRoleRevokePermissionRequest, grpc.CallOptions)
RoleRevokePermission revokes a key or range permission of a specified role.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleRevokePermissionResponse> RoleRevokePermissionAsync(AuthRoleRevokePermissionRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleRevokePermissionRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleRevokePermissionResponse> | The call object. |
RoleRevokePermissionAsync(AuthRoleRevokePermissionRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
RoleRevokePermission revokes a key or range permission of a specified role.
Declaration
public virtual grpc.AsyncUnaryCall<AuthRoleRevokePermissionResponse> RoleRevokePermissionAsync(AuthRoleRevokePermissionRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthRoleRevokePermissionRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthRoleRevokePermissionResponse> | The call object. |
UserAdd(AuthUserAddRequest, grpc.CallOptions)
UserAdd adds a new user.
Declaration
public virtual AuthUserAddResponse UserAdd(AuthUserAddRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserAddRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthUserAddResponse | The response received from the server. |
UserAdd(AuthUserAddRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserAdd adds a new user.
Declaration
public virtual AuthUserAddResponse UserAdd(AuthUserAddRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserAddRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthUserAddResponse | The response received from the server. |
UserAddAsync(AuthUserAddRequest, grpc.CallOptions)
UserAdd adds a new user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserAddResponse> UserAddAsync(AuthUserAddRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserAddRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserAddResponse> | The call object. |
UserAddAsync(AuthUserAddRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserAdd adds a new user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserAddResponse> UserAddAsync(AuthUserAddRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserAddRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserAddResponse> | The call object. |
UserChangePassword(AuthUserChangePasswordRequest, grpc.CallOptions)
UserChangePassword changes the password of a specified user.
Declaration
public virtual AuthUserChangePasswordResponse UserChangePassword(AuthUserChangePasswordRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserChangePasswordRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthUserChangePasswordResponse | The response received from the server. |
UserChangePassword(AuthUserChangePasswordRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserChangePassword changes the password of a specified user.
Declaration
public virtual AuthUserChangePasswordResponse UserChangePassword(AuthUserChangePasswordRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserChangePasswordRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthUserChangePasswordResponse | The response received from the server. |
UserChangePasswordAsync(AuthUserChangePasswordRequest, grpc.CallOptions)
UserChangePassword changes the password of a specified user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserChangePasswordResponse> UserChangePasswordAsync(AuthUserChangePasswordRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserChangePasswordRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserChangePasswordResponse> | The call object. |
UserChangePasswordAsync(AuthUserChangePasswordRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserChangePassword changes the password of a specified user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserChangePasswordResponse> UserChangePasswordAsync(AuthUserChangePasswordRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserChangePasswordRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserChangePasswordResponse> | The call object. |
UserDelete(AuthUserDeleteRequest, grpc.CallOptions)
UserDelete deletes a specified user.
Declaration
public virtual AuthUserDeleteResponse UserDelete(AuthUserDeleteRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserDeleteRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthUserDeleteResponse | The response received from the server. |
UserDelete(AuthUserDeleteRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserDelete deletes a specified user.
Declaration
public virtual AuthUserDeleteResponse UserDelete(AuthUserDeleteRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserDeleteRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthUserDeleteResponse | The response received from the server. |
UserDeleteAsync(AuthUserDeleteRequest, grpc.CallOptions)
UserDelete deletes a specified user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserDeleteResponse> UserDeleteAsync(AuthUserDeleteRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserDeleteRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserDeleteResponse> | The call object. |
UserDeleteAsync(AuthUserDeleteRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserDelete deletes a specified user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserDeleteResponse> UserDeleteAsync(AuthUserDeleteRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserDeleteRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserDeleteResponse> | The call object. |
UserGet(AuthUserGetRequest, grpc.CallOptions)
UserGet gets detailed user information.
Declaration
public virtual AuthUserGetResponse UserGet(AuthUserGetRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserGetRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthUserGetResponse | The response received from the server. |
UserGet(AuthUserGetRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserGet gets detailed user information.
Declaration
public virtual AuthUserGetResponse UserGet(AuthUserGetRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserGetRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthUserGetResponse | The response received from the server. |
UserGetAsync(AuthUserGetRequest, grpc.CallOptions)
UserGet gets detailed user information.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserGetResponse> UserGetAsync(AuthUserGetRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserGetRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserGetResponse> | The call object. |
UserGetAsync(AuthUserGetRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserGet gets detailed user information.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserGetResponse> UserGetAsync(AuthUserGetRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserGetRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserGetResponse> | The call object. |
UserGrantRole(AuthUserGrantRoleRequest, grpc.CallOptions)
UserGrant grants a role to a specified user.
Declaration
public virtual AuthUserGrantRoleResponse UserGrantRole(AuthUserGrantRoleRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserGrantRoleRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthUserGrantRoleResponse | The response received from the server. |
UserGrantRole(AuthUserGrantRoleRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserGrant grants a role to a specified user.
Declaration
public virtual AuthUserGrantRoleResponse UserGrantRole(AuthUserGrantRoleRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserGrantRoleRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthUserGrantRoleResponse | The response received from the server. |
UserGrantRoleAsync(AuthUserGrantRoleRequest, grpc.CallOptions)
UserGrant grants a role to a specified user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserGrantRoleResponse> UserGrantRoleAsync(AuthUserGrantRoleRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserGrantRoleRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserGrantRoleResponse> | The call object. |
UserGrantRoleAsync(AuthUserGrantRoleRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserGrant grants a role to a specified user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserGrantRoleResponse> UserGrantRoleAsync(AuthUserGrantRoleRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserGrantRoleRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserGrantRoleResponse> | The call object. |
UserList(AuthUserListRequest, grpc.CallOptions)
UserList gets a list of all users.
Declaration
public virtual AuthUserListResponse UserList(AuthUserListRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserListRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthUserListResponse | The response received from the server. |
UserList(AuthUserListRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserList gets a list of all users.
Declaration
public virtual AuthUserListResponse UserList(AuthUserListRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserListRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthUserListResponse | The response received from the server. |
UserListAsync(AuthUserListRequest, grpc.CallOptions)
UserList gets a list of all users.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserListResponse> UserListAsync(AuthUserListRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserListRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserListResponse> | The call object. |
UserListAsync(AuthUserListRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserList gets a list of all users.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserListResponse> UserListAsync(AuthUserListRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserListRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserListResponse> | The call object. |
UserRevokeRole(AuthUserRevokeRoleRequest, grpc.CallOptions)
UserRevokeRole revokes a role of specified user.
Declaration
public virtual AuthUserRevokeRoleResponse UserRevokeRole(AuthUserRevokeRoleRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserRevokeRoleRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AuthUserRevokeRoleResponse | The response received from the server. |
UserRevokeRole(AuthUserRevokeRoleRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserRevokeRole revokes a role of specified user.
Declaration
public virtual AuthUserRevokeRoleResponse UserRevokeRole(AuthUserRevokeRoleRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserRevokeRoleRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AuthUserRevokeRoleResponse | The response received from the server. |
UserRevokeRoleAsync(AuthUserRevokeRoleRequest, grpc.CallOptions)
UserRevokeRole revokes a role of specified user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserRevokeRoleResponse> UserRevokeRoleAsync(AuthUserRevokeRoleRequest request, grpc.CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
AuthUserRevokeRoleRequest | request | The request to send to the server. |
grpc.CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserRevokeRoleResponse> | The call object. |
UserRevokeRoleAsync(AuthUserRevokeRoleRequest, grpc.Metadata, Nullable<DateTime>, CancellationToken)
UserRevokeRole revokes a role of specified user.
Declaration
public virtual grpc.AsyncUnaryCall<AuthUserRevokeRoleResponse> UserRevokeRoleAsync(AuthUserRevokeRoleRequest request, grpc.Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
AuthUserRevokeRoleRequest | request | The request to send to the server. |
grpc.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
System.Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
grpc.AsyncUnaryCall<AuthUserRevokeRoleResponse> | The call object. |