C# Class ModernShopping.Auth.RequiredScopesMiddleware

ファイルを表示 Open project: tugberkugurlu/ModernShopping

Public Methods

Method Description
Invoke ( Microsoft.AspNet.Http.HttpContext context ) : System.Threading.Tasks.Task
RequiredScopesMiddleware ( RequestDelegate next, List requiredScopes, ILogger logger ) : Microsoft.AspNet.Builder

Private Methods

Method Description
ScopePresent ( ClaimsPrincipal principal ) : bool
Send403 ( object contextObject ) : System.Threading.Tasks.Task

Method Details

Invoke() public method

public Invoke ( Microsoft.AspNet.Http.HttpContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNet.Http.HttpContext
return System.Threading.Tasks.Task

RequiredScopesMiddleware() public method

public RequiredScopesMiddleware ( RequestDelegate next, List requiredScopes, ILogger logger ) : Microsoft.AspNet.Builder
next RequestDelegate
requiredScopes List
logger ILogger
return Microsoft.AspNet.Builder