wollte ich Xero API verbinden, und ich habe diese folgenden Codes:Connect zu Xero API (Public Application)
using Xero.Api;
using Xero.Api.Core;
using Xero.Api.Example.Applications.Public;
using Xero.Api.Infrastructure.OAuth;
using Xero.Api.Infrastructure.Interfaces;
using Xero.Api.Serialization;
var public_app_api = new XeroCoreApi("https://api.xero.com", new PublicAuthenticator("https://api.xero.com", "https://api.xero.com", "oob",
new MemoryTokenStore()),
new Consumer("KOWORD7XK14UL1HOKJO2YQIHMHB8NV", "CDMNUVXXF8PN8UFZGJJXCWR1P8SAL6"),user,
new DefaultMapper(), new DefaultMapper());
var public_contacts = public_app_api.Contacts.Find().ToList();
Mein Problem ist, ich diesen Fehler habe:
oauth_problem=permission_denied & oauth_problem_advice=The consumer was denied access to this resource
Und ich werde angewiesen werden, die Anwendung zu autorisieren, und sie geben den Code für die Eingabe an, aber ich weiß nicht, wo ich diese Codes eingeben kann. Kann mir jemand dabei helfen? Vielen Dank.