RolesController class

Implemented types

Constructors

RolesController()

Properties

commandSet RolesCommandSet?
getter/setter pair
dependencyResolver ↔ DependencyResolver
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
persistence IRolesPersistence
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authorize(String? correlationId, String? userId, List<String> roles) Future<bool?>
Checks the authorization.
override
configure(ConfigParams config) → void
Configures component by passing configuration parameters.
getCommandSet() → CommandSet
Gets a command set.
getRolesByFilter(String? correlationId, FilterParams? filter, PagingParams? paging) Future<DataPage<UserRolesV1>>
Gets a page of roles retrieved by a given filter.
override
getRolesById(String? correlationId, String? userId) Future<List<String>?>
Gets an user roles by user unique id.
override
grantRoles(String? correlationId, String? userId, List<String> roles) Future<List<String>>
Grants a roles.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
revokeRoles(String? correlationId, String? userId, List<String> roles) Future<List<String>>
Revokes a roles.
override
setReferences(IReferences references) → void
Set references to component.
setRoles(String? correlationId, String? userId, List<String> roles) Future<List<String>>
Sets a roles.
override
toString() String
A string representation of this object.
inherited

Operators

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