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

Inheritance: System.Web.Http.AuthorizeAttribute
Afficher le fichier Open project: OfficeDev/PnP-WOPI

Méthodes protégées

Méthode 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

Méthode Description
parseRequestParams ( string query ) : string>.Dictionary

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

Method Details

IsAuthorized() protected méthode

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
Résultat bool