toProto property

Authorization toProto

Implementation

proto.Authorization get toProto => proto.Authorization(
      authorizationType: authorizationType,
      authorizationId: authorizationId.toString(),
      resourceType: resourceType.name,
      resourceId: resourceId,
      identityId: identityId,
      organizationId: organizationId,
      identityType: identityType.toString(),
    );