コード例 #1
0
        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));
        }
コード例 #2
0
 public static ActorKey CreateActorKey(this TokenKey self)
 {
     return(new ActorKey(self.Value));
 }