Table of Contents

Interface IAuthProvider

Namespace
JD.AI.Core.Security
Assembly
JD.AI.Core.dll

Authenticates requests to the gateway.

public interface IAuthProvider

Methods

AuthenticateAsync(string, CancellationToken)

Validates a credential and returns the identity.

Task<GatewayIdentity?> AuthenticateAsync(string credential, CancellationToken ct = default)

Parameters

credential string
ct CancellationToken

Returns

Task<GatewayIdentity>