getEffectiveRoles method

  1. @override
Future<List<String>> getEffectiveRoles(
  1. String userId,
  2. String resource
)
override

Get user's effective roles for a resource

Implementation

@override
Future<List<String>> getEffectiveRoles(String userId, String resource) async {
  final data = await getAuthorization(userId, resource: resource);
  return data.roles;
}