RolesController class

Implemented types

Constructors

RolesController()

Properties

commandSet RolesCommandSet
read / write
dependencyResolver ↔ DependencyResolver
read / write
persistence IRolesPersistence
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

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
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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited