RolesController class
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