C# Class cloudscribe.Core.IdentityServer.NoDb.CorsPolicyService

Inheritance: ICorsPolicyService
Mostrar archivo Open project: joeaudette/cloudscribe

Public Methods

Method Description
CorsPolicyService ( IHttpContextAccessor contextAccessor, IBasicQueries queries ) : cloudscribe.Core.Models
IsOriginAllowedAsync ( string origin ) : Task

Method Details

CorsPolicyService() public method

public CorsPolicyService ( IHttpContextAccessor contextAccessor, IBasicQueries queries ) : cloudscribe.Core.Models
contextAccessor IHttpContextAccessor
queries IBasicQueries
return cloudscribe.Core.Models

IsOriginAllowedAsync() public method

public IsOriginAllowedAsync ( string origin ) : Task
origin string
return Task