Show / Hide Table of Contents

Interface IHTTPAuthenticationType

WMHTTPConnection allows multiple forms of HTTP authentication. Each individual form can be implemented as an IHTTPAuthenticationType, and bound to a AuthenticationType

Namespace: Quantellia.WMServer.Asset.Model.HTTP.AuthenticationType
Assembly: WMServer.dll
Syntax
public interface IHTTPAuthenticationType

Properties

connection

The WMHTTPConnection object this belongs to.

Declaration
WMHTTPConnection connection { get; set; }
Property Value
Type Description
WMHTTPConnection

Methods

AuthenticateRequest(HttpRequestMessage)

Accepts a completed request and authenticates it.

Declaration
Task<HttpRequestMessage> AuthenticateRequest(HttpRequestMessage request)
Parameters
Type Name Description
HttpRequestMessage request
Returns
Type Description
Task<HttpRequestMessage>

Initialize()

Initializes or refreshes the secret for this HTTP connection. This may take the form of a login procedure.

Declaration
Task Initialize()
Returns
Type Description
Task

ValidateKeys()

Validates the AuthenticationData keys. If it fails validation, should throw an exception detailing the missing or malformeed keys.

Declaration
Task ValidateKeys()
Returns
Type Description
Task
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE