Table of Contents

Class AgentAccessTokenAuthenticationHandler

Namespace
FoundationaLLM.Common.Authentication
Assembly
FoundationaLLM.Common.dll

Handles authentication for agent access tokens.

public class AgentAccessTokenAuthenticationHandler : AuthenticationHandler<AgentAccessTokenOptions>, IAuthenticationHandler
Inheritance
AgentAccessTokenAuthenticationHandler
Implements
Inherited Members
Extension Methods

Remarks

Initializes a new instance of the AgentAccessTokenAuthenticationHandler class.

Constructors

AgentAccessTokenAuthenticationHandler(IEnumerable<IResourceProviderService>, IOptionsMonitor<AgentAccessTokenOptions>, ILoggerFactory, UrlEncoder)

Handles authentication for agent access tokens.

public AgentAccessTokenAuthenticationHandler(IEnumerable<IResourceProviderService> resourceProviderServices, IOptionsMonitor<AgentAccessTokenOptions> options, ILoggerFactory logger, UrlEncoder encoder)

Parameters

resourceProviderServices IEnumerable<IResourceProviderService>

The IResourceProviderService resource provider services.

options IOptionsMonitor<AgentAccessTokenOptions>

The monitor for the options instance.

logger ILoggerFactory

The ILoggerFactory used to create loggers.

encoder UrlEncoder

The UrlEncoder used to perform URL character encoding.

Remarks

Initializes a new instance of the AgentAccessTokenAuthenticationHandler class.

Methods

HandleAuthenticateAsync()

Handles authentication for agent access tokens.

protected override Task<AuthenticateResult> HandleAuthenticateAsync()

Returns

Task<AuthenticateResult>