17.280. Class GrpcAuthService

Namespace: ArmoniK.Core.Common.gRPC.Services
Assembly: ArmoniK.Core.Common.dll

[Authorize(AuthenticationSchemes = "ArmoniKAuthenticationScheme")]
public class GrpcAuthService : Authentication.AuthenticationBase

17.280.1. Inheritance

object ← Authentication.AuthenticationBase ← GrpcAuthService

17.280.2. Inherited Members

Authentication.AuthenticationBase.GetCurrentUser(GetCurrentUserRequest, ServerCallContext), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

17.280.3. Constructors

17.280.3.1. GrpcAuthService(IOptionsMonitor<AuthenticatorOptions>, FunctionExecutionMetrics<GrpcAuthService>)

public GrpcAuthService(IOptionsMonitor<AuthenticatorOptions> options, FunctionExecutionMetrics<GrpcAuthService> meter)

17.280.3.1.1. Parameters

options IOptionsMonitor<AuthenticatorOptions>

meter FunctionExecutionMetrics<GrpcAuthService>

17.280.4. Methods

17.280.4.1. GetCurrentUser(GetCurrentUserRequest, ServerCallContext)

Get current user

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

17.280.4.1.1. Parameters

request GetCurrentUserRequest

The request received from the client.

context ServerCallContext

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

17.280.4.1.2. Returns

Task<GetCurrentUserResponse>

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