Ejemplo n.º 1
0
        async Task RunAsync(AuthSessionConfig config)
        {
            using (var client = await AuthClient.InitSessionAsync(config))
            {
                // with the client, you can create various app sessions
                // so you can run multiple apps / instances with the same client login.
                var session = await client.CreateAppSessionAsync(GetAuthReq());

                var app = new SomeApp(session);
                await app.RunAsync();
            }
        }