Search Results for

    Show / Hide Table of Contents

    Class SignalRJWTAuthorizeAttribute

    Proof authorization by checking the JWT

    Inheritance
    System.Object
    SignalRJWTAuthorizeAttribute
    Namespace: Simplic.Framework.WebAPI
    Assembly: Simplic.Framework.WebAPI.dll
    Syntax
    public class SignalRJWTAuthorizeAttribute : AuthorizeAttribute

    Methods

    | Improve this Doc View Source

    AuthorizeHubConnection(HubDescriptor, IRequest)

    Authenticate and authorize a request using JWT

    Declaration
    public override bool AuthorizeHubConnection(HubDescriptor hubDescriptor, IRequest request)
    Parameters
    Type Name Description
    HubDescriptor hubDescriptor

    Action context for the action that should be executed

    IRequest request
    Returns
    Type Description
    System.Boolean

    True if the token is valid, else false

    | Improve this Doc View Source

    AuthorizeHubMethodInvocation(IHubIncomingInvokerContext, Boolean)

    Declaration
    public override bool AuthorizeHubMethodInvocation(IHubIncomingInvokerContext hubIncomingInvokerContext, bool appliesToMethod)
    Parameters
    Type Name Description
    IHubIncomingInvokerContext hubIncomingInvokerContext
    System.Boolean appliesToMethod
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx