RoleAuthorizer class

Constructors

RoleAuthorizer()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

admin(Request req, dynamic user) Future<Response?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
userInRole(Request req, dynamic user, String role) Future<Response?>
userInRoles(Request req, dynamic user, List<String> roles) Future<Response?>

Operators

operator ==(Object other) bool
The equality operator.
inherited