diff --git a/test/blueprints/Do.Test.Blueprints.Service/Authentication/AuthenticationSamples.cs b/test/blueprints/Do.Test.Blueprints.Service/Authentication/AuthenticationSamples.cs index 5a18b5cef..11349c63a 100644 --- a/test/blueprints/Do.Test.Blueprints.Service/Authentication/AuthenticationSamples.cs +++ b/test/blueprints/Do.Test.Blueprints.Service/Authentication/AuthenticationSamples.cs @@ -1,12 +1,20 @@ -using System.Security.Claims; +using Microsoft.Extensions.Logging; +using System.Security.Claims; namespace Do.Test.Authentication; -public class AuthenticationSamples(Func _getClaims) +public class AuthenticationSamples( + Func _getClaims, + ILogger _logger +) { public string? Authenticate() => _getClaims().Identity?.AuthenticationType; - public string? FormPostAuthenticate(object value) => - _getClaims().Identity?.AuthenticationType; + public string? FormPostAuthenticate(object value) + { + _logger.LogInformation($"Form post authenticate is called with value:'{value}'"); + + return _getClaims().Identity?.AuthenticationType; + } } \ No newline at end of file