License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authentication and authorization framework based on fine-grained roles.
private
private
Represents a required authorization role.
Roles can be combined using logical or (`|` operator) or logical and (`&` operator). The role name is directly mapped to a method name of the authorization interface specified on the web interface class using the @requiresAuth attribute.
authR!(Op.ident, name, void, void) opDispatch(string name)() @propertythis()RequiresAuthAttribute!void requiresAuth() @propertyEnables authentication and authorization checks for an interface class.auto handleAuthentication(alias fun, C, AUTH_ARGS...)(C c, AUTH_ARGS auth_args)void handleAuthorization(C, alias fun, PARAMS...)(AuthInfo!C auth_info)