Skip to content

Commit c99a3e2

Browse files
committed
Initial Commit
1 parent 22d5662 commit c99a3e2

File tree

184 files changed

+47279
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+47279
-2
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Once pulled, during development alternate below appsettings.json part
2+
XeroDotnetSampleApp/appsettings.json
3+
XeroDotnetSampleApp/appsettings.Development.json
4+
5+
# Build outputs
6+
XeroDotnetSampleApp/bin/*
7+
XeroDotnetSampleApp/obj/*
8+
9+
# Database files
10+
XeroDotnetSampleApp/Migrations
11+
*.db
12+
*.db-shm
13+
*.db-wal
14+
15+
*.gz
16+
*.swp
17+
*.*~
18+
*.pyc
19+
20+
# Visual Studio Code
21+
XeroDotnetSampleApp/.vscode/*
22+
23+
# User-specific files
24+
XeroDotnetSampleApp/non_tenanted_xerotoken.json
25+
XeroDotnetSampleApp/state.json
26+
XeroDotnetSampleApp/tenantid.json
27+
XeroDotnetSampleApp/xerotoken.json

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "SDKs/Xero-NetStandard"]
2+
path = SDKs/Xero-NetStandard
3+
url = https://github.com/XeroAPI/Xero-NetStandard
4+
[submodule "SDKs/Xero-OpenAPI"]
5+
path = SDKs/Xero-OpenAPI
6+
url = https://github.com/XeroAPI/Xero-OpenAPI

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Brian Kim
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 363 additions & 2 deletions
Large diffs are not rendered by default.

XeroDotnetSampleApp.sln

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.5.2.0
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XeroDotnetSampleApp", "XeroDotnetSampleApp\XeroDotnetSampleApp.csproj", "{5E197F82-642D-F50B-A87A-2E3892BE0169}"
6+
EndProject
7+
Global
8+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9+
Debug|Any CPU = Debug|Any CPU
10+
Release|Any CPU = Release|Any CPU
11+
EndGlobalSection
12+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13+
{5E197F82-642D-F50B-A87A-2E3892BE0169}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{5E197F82-642D-F50B-A87A-2E3892BE0169}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{5E197F82-642D-F50B-A87A-2E3892BE0169}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{5E197F82-642D-F50B-A87A-2E3892BE0169}.Release|Any CPU.Build.0 = Release|Any CPU
17+
EndGlobalSection
18+
GlobalSection(SolutionProperties) = preSolution
19+
HideSolutionNode = FALSE
20+
EndGlobalSection
21+
GlobalSection(ExtensibilityGlobals) = postSolution
22+
SolutionGuid = {9BDDFAC0-2A99-46F7-8815-0BA894F4EE4D}
23+
EndGlobalSection
24+
EndGlobal
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Models values from appsetting.json
2+
public class DatabaseConfiguration
3+
{
4+
public string DatabaseConnectionString {get; set;}
5+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Models values from appsetting.json
2+
public class SignUpWithXeroSettings
3+
{
4+
public string CallbackUri { get; set; }
5+
public string SignUpWithXeroScope { get; set; }
6+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Models values from appsetting.json
2+
public class WebhookSettings
3+
{
4+
public string XeroSignature {get; set;}
5+
public string WebhookKey {get; set;}
6+
public string LastWebhookPayload {get; set;}
7+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Models values from appsetting.json
2+
public class XeroAppStoreSubscriptionSettings
3+
{
4+
public string AppId { get; set; }
5+
}

0 commit comments

Comments
 (0)