C# Class com.microsoft.dx.officewopi.Security.WopiTokenValidationFilter

Inheritance: System.Web.Http.AuthorizeAttribute
Exibir arquivo Open project: OfficeDev/PnP-WOPI

Protected Methods

Method Description
IsAuthorized ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool

Determines if the user is authorized to access the WebAPI endpoint based on the bearer token

Private Methods

Method Description
parseRequestParams ( string query ) : string>.Dictionary

Simple method to parse a URL query string into a dictionary of parameters

Method Details

IsAuthorized() protected method

Determines if the user is authorized to access the WebAPI endpoint based on the bearer token
protected IsAuthorized ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool
actionContext System.Web.Http.Controllers.HttpActionContext
return bool