Class Authentication.AuthenticationBase

Namespace: ArmoniK.Api.gRPC.V1.Auth
Assembly: ArmoniK.Api.Core.dll

Base class for server-side implementations of Authentication

[BindServiceMethod(typeof(Authentication), "BindService")]
public abstract class Authentication.AuthenticationBase

Inheritance

objectAuthentication.AuthenticationBase

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

GetCurrentUser(GetCurrentUserRequest, ServerCallContext)

Get current user

public virtual Task<GetCurrentUserResponse> GetCurrentUser(GetCurrentUserRequest request, ServerCallContext context)

Parameters

request GetCurrentUserRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns

Task<GetCurrentUserResponse>

The response to send back to the client (wrapped by a task).