Ejemplo n.º 1
0
        public async Task LoginAsync(string authCode)
        {
            var authenticator = new TraktAuthenticator(ClientId, ClientSecret, RedirectUri);
            await authenticator.GetAccessTokenAsync(Client, authCode);

            Client.Authenticator = authenticator;
        }
Ejemplo n.º 2
0
		public async Task LoginAsync(string authCode)
		{
			var authenticator = new TraktAuthenticator(ClientId, ClientSecret, RedirectUri);
			await authenticator.GetAccessTokenAsync(Client, authCode);

			Client.Authenticator = authenticator;
		}