Skip to content

Commit

Permalink
Add [GenerateSync] decorator to net4x files (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnaCoda committed Jul 25, 2023
1 parent f26a1a7 commit db5c7fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using D2L.Security.OAuth2.Principal;
using System.Threading.Tasks;
using System.Threading.Tasks;
using System.Web;
using D2L.CodeStyle.Annotations;
using D2L.Security.OAuth2.Principal;

namespace D2L.Security.OAuth2.Validation.Request {
public partial interface IRequestAuthenticator {
Expand All @@ -9,6 +10,7 @@ public partial interface IRequestAuthenticator {
/// </summary>
/// <param name="request">The web request object.</param>
/// <returns>An <see cref="ID2LPrincipal"/> for an authenticated user.</returns>
[GenerateSync]
Task<ID2LPrincipal> AuthenticateAsync( HttpRequest request );
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
using D2L.Security.OAuth2.Principal;
using System.Threading.Tasks;
using System.Threading.Tasks;
using System.Web;
using D2L.CodeStyle.Annotations;
using D2L.Security.OAuth2.Principal;

namespace D2L.Security.OAuth2.Validation.Request {
internal sealed partial class RequestAuthenticator {
[GenerateSync]
Task<ID2LPrincipal> IRequestAuthenticator.AuthenticateAsync(
HttpRequest request
) {
Expand Down

0 comments on commit db5c7fe

Please sign in to comment.