public async Task <string> GetApiKey(IWorkContext context, TokenKey tokenKey)
        {
            Verify.IsNotNull(nameof(tokenKey), tokenKey);

            ITokenClientActor actor = await _actorManger.CreateProxyAsync <ITokenClientActor>(context, tokenKey.CreateActorKey());

            return(await actor.GetApiKey(context));
        }
Esempio n. 2
0
 public static ActorKey CreateActorKey(this TokenKey self)
 {
     return(new ActorKey(self.Value));
 }