private ModuleResult InvokeAuthorize(IAuthorizationModule module, IHttpContext context) { return module.Authorize(context); }
public UserAccountsController(IAuthorizationModule authorizationModule) { _authorizationModule = authorizationModule; }
public ResourceOwnerPasswordValidator(IAuthorizationModule authorizationModule) { _authorizationModule = authorizationModule; }
public void Register <T>(IAuthorizationModule module) { activities[typeof(T)] = module; }
private ModuleResult InvokeAuthorize(IAuthorizationModule module, IHttpContext context) { return(module.Authorize(context)); }