C# Class cloudscribe.Core.IdentityServerIntegration.CorsPathValidator

Inheritance: ICorsPathValidator
Mostra file Open project: joeaudette/cloudscribe

Public Methods

Method Description
CorsPathValidator ( IHttpContextAccessor contextAccessor, IOptions multiTenantOptionsAccessor ) : cloudscribe.Core.Models
IsPathAllowed ( PathString path, CorsOptions options ) : bool

Method Details

CorsPathValidator() public method

public CorsPathValidator ( IHttpContextAccessor contextAccessor, IOptions multiTenantOptionsAccessor ) : cloudscribe.Core.Models
contextAccessor IHttpContextAccessor
multiTenantOptionsAccessor IOptions
return cloudscribe.Core.Models

IsPathAllowed() public method

public IsPathAllowed ( PathString path, CorsOptions options ) : bool
path PathString
options CorsOptions
return bool