RolesDirectClientV1 class

Implemented types

Constructors

RolesDirectClientV1()

Properties

controller ↔ dynamic
The controller reference.
read / write, inherited
counters ↔ CompositeCounters
The performance counters
read / write, inherited
dependencyResolver ↔ DependencyResolver
The dependency resolver to get controller reference.
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
logger ↔ CompositeLogger
The logger.
read / write, inherited
opened ↔ bool
The open flag.
read / write, 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
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
setRoles(String correlationId, String userId, List<String> roles) → Future<List<String>>
Sets a roles. [...]
override
close(String correlationId) → Future
Closes component and frees used resources. [...]
inherited
configure(ConfigParams config) → void
Configures component by passing configuration parameters. [...]
inherited
instrument(String correlationId, String name) → Timing
Adds instrumentation to log calls and measure call time. It returns a Timing object that is used to end the time measurement. [...]
inherited
instrumentError(String correlationId, String name, dynamic err, [bool reerror = false]) → void
Adds instrumentation to error handling. [...]
inherited
isOpen() → bool
Checks if the component is opened. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
open(String correlationId) → Future
Opens the component. [...]
inherited
setReferences(IReferences references) → void
Sets references to dependent components. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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