diff --git a/templates/src/IdentityServerAspNetIdentity/Pages/Telemetry.cs b/templates/src/IdentityServerAspNetIdentity/Pages/Telemetry.cs index 3bafe1bea..d1ca6aea4 100644 --- a/templates/src/IdentityServerAspNetIdentity/Pages/Telemetry.cs +++ b/templates/src/IdentityServerAspNetIdentity/Pages/Telemetry.cs @@ -75,6 +75,7 @@ public static class Telemetry /// /// Client id /// Scope names. Each element is added on it's own to the counter + /// Remember consent granted public static void ConsentGranted(string clientId, IEnumerable scopes, bool remember) { ArgumentNullException.ThrowIfNull(scopes); @@ -90,7 +91,7 @@ public static class Telemetry } /// - /// Helper method to increase counter. The scopes + /// Helper method to increase counter. The scopes /// are expanded and called one by one to not cause a combinatory explosion of scopes. /// /// Client id @@ -119,13 +120,15 @@ public static class Telemetry /// Helper method to increase counter. /// /// Client Id, if available + /// Identity provider public static void UserLogin(string? clientId, string idp) => UserLoginCounter.Add(1, new(Tags.Client, clientId), new(Tags.Idp, idp)); /// - /// Helper method to increase counter on failure. /// /// Client Id, if available + /// Identity provider /// Error message public static void UserLoginFailure(string? clientId, string idp, string error) => UserLoginCounter.Add(1, new(Tags.Client, clientId), new(Tags.Idp, idp), new(Tags.Error, error)); @@ -139,4 +142,4 @@ public static class Telemetry public static void UserLogout(string? idp) => UserLogoutCounter.Add(1, tag: new(Tags.Idp, idp)); } -} +} \ No newline at end of file diff --git a/templates/src/IdentityServerEntityFramework/Pages/Telemetry.cs b/templates/src/IdentityServerEntityFramework/Pages/Telemetry.cs index 3bafe1bea..d1ca6aea4 100644 --- a/templates/src/IdentityServerEntityFramework/Pages/Telemetry.cs +++ b/templates/src/IdentityServerEntityFramework/Pages/Telemetry.cs @@ -75,6 +75,7 @@ public static class Telemetry /// /// Client id /// Scope names. Each element is added on it's own to the counter + /// Remember consent granted public static void ConsentGranted(string clientId, IEnumerable scopes, bool remember) { ArgumentNullException.ThrowIfNull(scopes); @@ -90,7 +91,7 @@ public static class Telemetry } /// - /// Helper method to increase counter. The scopes + /// Helper method to increase counter. The scopes /// are expanded and called one by one to not cause a combinatory explosion of scopes. /// /// Client id @@ -119,13 +120,15 @@ public static class Telemetry /// Helper method to increase counter. /// /// Client Id, if available + /// Identity provider public static void UserLogin(string? clientId, string idp) => UserLoginCounter.Add(1, new(Tags.Client, clientId), new(Tags.Idp, idp)); /// - /// Helper method to increase counter on failure. /// /// Client Id, if available + /// Identity provider /// Error message public static void UserLoginFailure(string? clientId, string idp, string error) => UserLoginCounter.Add(1, new(Tags.Client, clientId), new(Tags.Idp, idp), new(Tags.Error, error)); @@ -139,4 +142,4 @@ public static class Telemetry public static void UserLogout(string? idp) => UserLogoutCounter.Add(1, tag: new(Tags.Idp, idp)); } -} +} \ No newline at end of file diff --git a/templates/src/IdentityServerInMem/Pages/Telemetry.cs b/templates/src/IdentityServerInMem/Pages/Telemetry.cs index 3bafe1bea..d1ca6aea4 100644 --- a/templates/src/IdentityServerInMem/Pages/Telemetry.cs +++ b/templates/src/IdentityServerInMem/Pages/Telemetry.cs @@ -75,6 +75,7 @@ public static class Telemetry /// /// Client id /// Scope names. Each element is added on it's own to the counter + /// Remember consent granted public static void ConsentGranted(string clientId, IEnumerable scopes, bool remember) { ArgumentNullException.ThrowIfNull(scopes); @@ -90,7 +91,7 @@ public static class Telemetry } /// - /// Helper method to increase counter. The scopes + /// Helper method to increase counter. The scopes /// are expanded and called one by one to not cause a combinatory explosion of scopes. /// /// Client id @@ -119,13 +120,15 @@ public static class Telemetry /// Helper method to increase counter. /// /// Client Id, if available + /// Identity provider public static void UserLogin(string? clientId, string idp) => UserLoginCounter.Add(1, new(Tags.Client, clientId), new(Tags.Idp, idp)); /// - /// Helper method to increase counter on failure. /// /// Client Id, if available + /// Identity provider /// Error message public static void UserLoginFailure(string? clientId, string idp, string error) => UserLoginCounter.Add(1, new(Tags.Client, clientId), new(Tags.Idp, idp), new(Tags.Error, error)); @@ -139,4 +142,4 @@ public static class Telemetry public static void UserLogout(string? idp) => UserLogoutCounter.Add(1, tag: new(Tags.Idp, idp)); } -} +} \ No newline at end of file