ViamAuthorization constructor

ViamAuthorization({
  1. String authorizationType = 'role',
  2. required AuthorizationId authorizationId,
  3. required ResourceType resourceType,
  4. required String resourceId,
  5. String identityId = '',
  6. required String organizationId,
  7. required IdentityType identityType,
})

Implementation

ViamAuthorization({
  this.authorizationType = 'role',
  required this.authorizationId,
  required this.resourceType,
  required this.resourceId,
  this.identityId = '',
  required this.organizationId,
  required this.identityType,
});