diff --git a/Aps.Sample.App.sln b/Aps.Sample.App.sln index bbe3781..4ab2d4b 100644 --- a/Aps.Sample.App.sln +++ b/Aps.Sample.App.sln @@ -3,10 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.10.35013.160 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aps.Sample.App", "Aps.Sample.App\Aps.Sample.App.csproj", "{2B6F8F77-99F5-4EC2-9EF9-5E0404883F37}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Aps.Sample.App", "Aps.Sample.App\Aps.Sample.App.csproj", "{2B6F8F77-99F5-4EC2-9EF9-5E0404883F37}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution", "Solution", "{79FCC569-0A1D-43FB-ADE1-83A0EA8C08E5}" ProjectSection(SolutionItems) = preProject + CHANGELOG.md = CHANGELOG.md README.md = README.md EndProjectSection EndProject diff --git a/Aps.Sample.App/Aps.Sample.App.csproj b/Aps.Sample.App/Aps.Sample.App.csproj index 96f1045..c0b1e7f 100644 --- a/Aps.Sample.App/Aps.Sample.App.csproj +++ b/Aps.Sample.App/Aps.Sample.App.csproj @@ -1,6 +1,7 @@  + 1.0.0-beta WinExe net6.0-windows enable diff --git a/Aps.Sample.App/MainWindow.xaml.cs b/Aps.Sample.App/MainWindow.xaml.cs index 6f42337..532fdf6 100644 --- a/Aps.Sample.App/MainWindow.xaml.cs +++ b/Aps.Sample.App/MainWindow.xaml.cs @@ -6,7 +6,7 @@ namespace Aps.Sample.App public partial class MainWindow : Window { private static string ClientId = "LtSI0DgPFsVmBLndZSsG8a2pb1unHNJu"; - private static string CallbackUrl = "https://aps-single-page.glitch.me/"; + private static string CallbackUrl = "http://localhost:8080/"; ApsService ApsService = new ApsService(ClientId, CallbackUrl); diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..1161baa --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). + +## [1.0.0] / 2023-07-17 +## Features +* `APS` - Login / Logout +* `ThreeLeggedToken` - Save / Load local token. +* `WebViewLogin` - Receive the `Code` after login. +* `ApsService` with `ClientId`, `CallbackUrl` and `Scopes`. + +[vNext]: ../../compare/1.0.0...HEAD +[1.0.0]: ../../compare/1.0.0 \ No newline at end of file diff --git a/README.md b/README.md index 83253b5..0a9d9e5 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,15 @@ Desktop application to connect an Autodesk account using [Autodesk Platform Serv ![Aps.Sample.App](assets/Aps.Sample.App.gif) +## How to use + +### Create an Aps Application + +1. Go to [Autodesk Platform Service](https://aps.autodesk.com/). +2. Create an application with the type [Desktop, Mobile, Single-Page App](https://aps.autodesk.com/en/docs/oauth/v2/tutorials/create-app/). +3. Copy the `Client ID` and `Callback URL`. +4. Paste the `Client ID` and `Callback URL` in the [MainWindow.xaml.cs](Aps.Sample.App/MainWindow.xaml.cs) file. + ## Video Videos in English about this project.