Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
chore: add remarks for az app dto (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnmoreels authored May 5, 2022
1 parent a5df4b6 commit a9bbcd1
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
namespace Arcus.BackgroundJobs.AzureActiveDirectory
{
/// <summary>
/// Represents an <see cref="AzureApplication"/> from Azure Active Directory.
/// Represents an application running on Azure, in an Azure Active Directory.
/// <remarks>
/// This model is used to publicly represent the client applications and is used during event tracking.
/// Therefore, new values added here should be carefully considered as all data represented here is made public in the configured logging system.
/// </remarks>
/// </summary>
public class AzureApplication
{
Expand All @@ -18,7 +22,7 @@ public class AzureApplication
/// <exception cref="ArgumentException">Thrown when the <paramref name="name"/> is blank.</exception>
public AzureApplication(string name, Guid? keyId, DateTimeOffset? endDateTime, double remainingValidDays)
{
Guard.NotNullOrWhitespace(name, nameof(name));
Guard.NotNullOrWhitespace(name, nameof(name), "Requires a name to describe the application running on Azure");

Name = name;
KeyId = keyId;
Expand Down

0 comments on commit a9bbcd1

Please sign in to comment.