Search Results for

    Show / Hide Table of Contents

    Class JwtAuthenticationHandler

    Inheritance
    object
    HttpMessageHandler
    DelegatingHandler
    JwtAuthenticationHandler
    Implements
    IDisposable
    Inherited Members
    DelegatingHandler.Dispose(bool)
    DelegatingHandler.Send(HttpRequestMessage, CancellationToken)
    DelegatingHandler.InnerHandler
    HttpMessageHandler.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OEMS.UI.Auth
    Assembly: OEMS.UI.dll
    Syntax
    public class JwtAuthenticationHandler : DelegatingHandler, IDisposable

    Constructors

    JwtAuthenticationHandler(AuthenticationStateCache, AuthenticationStateProvider)

    Declaration
    public JwtAuthenticationHandler(AuthenticationStateCache authCache, AuthenticationStateProvider authStateProvider)
    Parameters
    Type Name Description
    AuthenticationStateCache authCache
    AuthenticationStateProvider authStateProvider

    Methods

    SendAsync(HttpRequestMessage, CancellationToken)

    Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.

    Declaration
    protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    HttpRequestMessage request

    The HTTP request message to send to the server.

    CancellationToken cancellationToken

    A cancellation token to cancel operation.

    Returns
    Type Description
    Task<HttpResponseMessage>

    The task object representing the asynchronous operation.

    Overrides
    DelegatingHandler.SendAsync(HttpRequestMessage, CancellationToken)
    Exceptions
    Type Condition
    ArgumentNullException

    The request was null.

    Implements

    IDisposable
    In this article
    Back to top Generated by DocFX