checkAuthorization method

bool checkAuthorization(
  1. HttpRequest req,
  2. List<String> roles,
  3. {dynamic data = null}
)

Implementation

bool checkAuthorization(HttpRequest req, List<String> roles, {data: null}) {
  return this.strategy.checkAuthorization(req, roles, data);
}