RolesDirectClientV1 class

Implemented types

Constructors

RolesDirectClientV1()

Properties

controller ↔ dynamic
The controller reference.
getter/setter pairinherited
counters ↔ CompositeCounters
The performance counters
getter/setter pairinherited
dependencyResolver ↔ DependencyResolver
The dependency resolver to get controller reference.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
logger ↔ CompositeLogger
The logger.
getter/setter pairinherited
opened bool
The open flag.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tracer ↔ CompositeTracer
The tracer.
getter/setter pairinherited

Methods

authorize(String? correlationId, String userId, List<String> roles) Future<bool>
Checks the authorization.
override
close(String? correlationId) Future
Closes component and frees used resources.
inherited
configure(ConfigParams config) → void
Configures component by passing configuration parameters.
inherited
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
instrument(String? correlationId, String name) → InstrumentTiming
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 nonexistent method or property is accessed.
inherited
open(String? correlationId) Future
Opens the component.
inherited
revokeRoles(String? correlationId, String userId, List<String> roles) Future<List<String>>
Revokes a roles.
override
setReferences(IReferences references) → void
Sets references to dependent components.
inherited
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