Hi,
More of a question than an issue.
We're using the ICrossTenantAuthorizer to provide cross-tenant authorisation. We do have a grain that contains all the required information but as the IsAccessAuthorized() method is not asynchronous I can't use the grain methods to answer the question (I've tried numerous workarounds to invoke the grain async methods inside this non-async function but they all seem to just hang).
As a workaround we're writing the information in the grain to an external data source (Azure Table) but this is causing a few timing issues so I would much rather access the definitive source of information (i.e the grain).
Can the IsAccessAuthorized() be supplemented with an asynchronous version so I can (safely) invoke grain methods from it or do you have any suggestions as to how to solve this?
Thanks
Hi,
More of a question than an issue.
We're using the ICrossTenantAuthorizer to provide cross-tenant authorisation. We do have a grain that contains all the required information but as the IsAccessAuthorized() method is not asynchronous I can't use the grain methods to answer the question (I've tried numerous workarounds to invoke the grain async methods inside this non-async function but they all seem to just hang).
As a workaround we're writing the information in the grain to an external data source (Azure Table) but this is causing a few timing issues so I would much rather access the definitive source of information (i.e the grain).
Can the IsAccessAuthorized() be supplemented with an asynchronous version so I can (safely) invoke grain methods from it or do you have any suggestions as to how to solve this?
Thanks