Search Results for

    Show / Hide Table of Contents

    Class JWTAuthorizeAttribute

    Proof authorization by checking the JWT

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

    Methods

    | Improve this Doc View Source

    IsAuthorized(HttpActionContext)

    Authenticate and authorize a request using JWT

    Declaration
    protected override bool IsAuthorized(HttpActionContext actionContext)
    Parameters
    Type Name Description
    HttpActionContext actionContext

    Action context for the action that should be executed

    Returns
    Type Description
    System.Boolean

    True if the token is valid, else false

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx