-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
774 additions
and
73 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.5" /> | ||
<supportedRuntime version="v4.0" /> | ||
<supportedRuntime version="v2.0.50727" /> | ||
</startup> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly> | ||
<assemblyIdentity name="KeePass" | ||
<startup> | ||
<supportedRuntime version="v4.0" /> | ||
<supportedRuntime version="v2.0.50727" /> | ||
</startup> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly> | ||
<assemblyIdentity name="KeePass" | ||
publicKeyToken="fed2ed7716aecf5c" | ||
culture="neutral" /> | ||
<bindingRedirect oldVersion="2.0.9.0-2.30.0.0" | ||
newVersion="2.30.0.15916" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
<enforceFIPSPolicy enabled="false" /> | ||
<loadFromRemoteSources enabled="true" /> | ||
</runtime> | ||
<appSettings> | ||
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true" /> | ||
</appSettings> | ||
</configuration> | ||
<bindingRedirect oldVersion="2.0.9.0-2.31.0.0" | ||
newVersion="2.31.0.27913" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
<enforceFIPSPolicy enabled="false" /> | ||
<loadFromRemoteSources enabled="true" /> | ||
</runtime> | ||
<appSettings> | ||
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true" /> | ||
</appSettings> | ||
</configuration> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace KeeAnywhere.OAuth2 | ||
{ | ||
[DataContract] | ||
public class OAuth2Token | ||
{ | ||
public OAuth2Token() | ||
{ | ||
} | ||
|
||
internal OAuth2Token(string accessToken, string tokenType, int? expiresIn = null, string refreshToken = null) | ||
{ | ||
if (string.IsNullOrEmpty(accessToken)) | ||
throw new ArgumentException("Invalid OAuth 2.0 response, missing access_token."); | ||
|
||
AccessToken = accessToken; | ||
ExpiresIn = expiresIn; | ||
TokenType = tokenType; | ||
RefreshToken = refreshToken; | ||
} | ||
|
||
[DataMember(Name = "access_token")] | ||
public string AccessToken { get; set; } | ||
|
||
[DataMember(Name = "expires_in")] | ||
public int? ExpiresIn { get; set; } | ||
|
||
[DataMember(Name = "token_type")] | ||
public string TokenType { get; set; } | ||
|
||
[DataMember(Name = "refresh_token")] | ||
public string RefreshToken { get; set; } | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace KeeAnywhere.StorageProviders.HubiC | ||
{ | ||
[DataContract] | ||
internal class HubiCAccount | ||
{ | ||
[DataMember(Name="email")] | ||
public string EMail { get; set; } | ||
|
||
[DataMember(Name = "firstname")] | ||
public string FirstName { get; set; } | ||
|
||
[DataMember(Name = "lastname")] | ||
public string LastName { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace KeeAnywhere.StorageProviders.HubiC | ||
{ | ||
[DataContract] | ||
public class HubiCCredentials | ||
{ | ||
[DataMember(Name = "token")] | ||
public string Token { get; set; } | ||
|
||
[DataMember(Name = "endpoint")] | ||
public string Endpoint { get; set; } | ||
|
||
[DataMember(Name = "expires")] | ||
public DateTime Exprires { get; set; } | ||
} | ||
} |
Oops, something went wrong.