diff options
author | vnugent <public@vaughnnugent.com> | 2023-08-01 18:39:13 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-08-01 18:39:13 -0400 |
commit | be26a0db1c21eec22e62862bac9d26ab5ca15428 (patch) | |
tree | b11d061f1856622f7d4ecee07b5128a8ac09588e /Libs/VNLib.Plugins.Essentials.Oauth/src | |
parent | aaeaa85e7a7c454e9c6b488b60f6a18023f044fc (diff) |
Latest updates, build configurations, and native compression
Diffstat (limited to 'Libs/VNLib.Plugins.Essentials.Oauth/src')
-rw-r--r-- | Libs/VNLib.Plugins.Essentials.Oauth/src/Applications/ApplicationStore.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Libs/VNLib.Plugins.Essentials.Oauth/src/Applications/ApplicationStore.cs b/Libs/VNLib.Plugins.Essentials.Oauth/src/Applications/ApplicationStore.cs index 8374c21..da70a17 100644 --- a/Libs/VNLib.Plugins.Essentials.Oauth/src/Applications/ApplicationStore.cs +++ b/Libs/VNLib.Plugins.Essentials.Oauth/src/Applications/ApplicationStore.cs @@ -180,7 +180,7 @@ namespace VNLib.Plugins.Essentials.Oauth.Applications /// </summary> /// <param name="record">The new record to create</param> /// <returns>The result of the operation</returns> - public override async Task<ERRNO> CreateAsync(UserApplication record) + public override async Task<ERRNO> CreateAsync(UserApplication record, CancellationToken cancellation = default) { record.RawSecret = GenerateSecret(); //Hash the secret @@ -188,7 +188,7 @@ namespace VNLib.Plugins.Essentials.Oauth.Applications record.ClientId = GenerateClientID(); record.SecretHash = (string)secretHash; //Wait for the rescord to be created before wiping the secret - return await base.CreateAsync(record); + return await base.CreateAsync(record, cancellation); } /// <summary> @@ -276,7 +276,7 @@ namespace VNLib.Plugins.Essentials.Oauth.Applications } //DO NOT ALLOW PAGINATION YET - public override Task<int> GetPageAsync(ICollection<UserApplication> collection, int page, int limit) + public override Task<int> GetPageAsync(ICollection<UserApplication> collection, int page, int limit, CancellationToken cancellation = default) { throw new NotSupportedException(); } |