C# Class Raven.Database.Server.Security.AbstractRequestAuthorizer

Inheritance: IDisposable
显示文件 Open project: nhsevidence/ravendb Class Usage Examples

Protected Properties

Property Type Description
server HttpServer

Public Methods

Method Description
Authorize ( IHttpContext context ) : bool
Initialize ( Func databaseGetter, Func settingsGetter, Func tenantIdGetter, HttpServer theServer ) : void
IsGetRequest ( string httpMethod, string requestPath ) : bool

Method Details

Authorize() public abstract method

public abstract Authorize ( IHttpContext context ) : bool
context IHttpContext
return bool

Initialize() public method

public Initialize ( Func databaseGetter, Func settingsGetter, Func tenantIdGetter, HttpServer theServer ) : void
databaseGetter Func
settingsGetter Func
tenantIdGetter Func
theServer HttpServer
return void

IsGetRequest() public static method

public static IsGetRequest ( string httpMethod, string requestPath ) : bool
httpMethod string
requestPath string
return bool

Property Details

server protected_oe property

protected HttpServer server
return HttpServer