Метод | Описание | |
---|---|---|
IsAuthorized ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool |
Main action to check if user has authorities to acesss
|
Метод | Описание | |
---|---|---|
hasClaim ( IEnumerable |
Checks on users permission on access to action
|
|
hasFlag ( string value, AccessRight permission ) : bool |
Checking on if user has in its claims the specific one neeeded
|
|
isTypeCorrect ( string type ) : bool |
The function that checks on corresponding claim type
|
protected IsAuthorized ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool | ||
actionContext | System.Web.Http.Controllers.HttpActionContext | Context of user trying to access resouce |
Результат | bool |