Exemple #1
0
        public async Task DoAppRegistration()
        {
            AppRegistration.Scopes["write_posts"]  = "You can post things, for sure.";
            AppRegistration.Scopes["read_posts"]   = "You can read your posts dude.";
            AppRegistration.Scopes["read_profile"] = "Basic read profile";
            var response = await Pitch.Requests.AppRegistrationRequest.RegisterNewAppAsync(Server, AppRegistration);

            AppRegistrationResponse = response;
            OAuthUri = OAuth.CreateOAuthUri(Server, response);
        }