diff --git a/src/Accounts/Authentication.ResourceManager/AzureRmProfile.cs b/src/Accounts/Authentication.ResourceManager/AzureRmProfile.cs index e32f0484de89..9396b2a823ed 100644 --- a/src/Accounts/Authentication.ResourceManager/AzureRmProfile.cs +++ b/src/Accounts/Authentication.ResourceManager/AzureRmProfile.cs @@ -237,6 +237,7 @@ public AzureRmProfile() /// Initializes a new instance of AzureRMProfile and loads its content from specified path. /// /// The location of profile file on disk. + /// public AzureRmProfile(string path, bool shouldRefreshContextsFromCache = true) : this() { this.ShouldRefreshContextsFromCache = shouldRefreshContextsFromCache; @@ -267,6 +268,7 @@ public void Save() /// Writes profile to a specified path. /// /// File path on disk to save profile to + /// public void Save(string path, bool serializeCache = true) { if (string.IsNullOrEmpty(path)) @@ -284,6 +286,7 @@ public void Save(string path, bool serializeCache = true) /// Writes the profile using the specified file provider /// /// The file provider used to save the profile + /// public void Save(IFileProvider provider, bool serializeCache = true) { foreach (string env in AzureEnvironment.PublicEnvironments.Keys) diff --git a/src/Accounts/Authentication.ResourceManager/Models/PSAzureContext.cs b/src/Accounts/Authentication.ResourceManager/Models/PSAzureContext.cs index 3fdb68a87f1b..bb5b217480a1 100644 --- a/src/Accounts/Authentication.ResourceManager/Models/PSAzureContext.cs +++ b/src/Accounts/Authentication.ResourceManager/Models/PSAzureContext.cs @@ -164,8 +164,7 @@ public PSAzureContext(PSObject other) public IAzureTenant Tenant { get; set; } /// - /// Moved to due to MSAL. - /// See for how to create client applications. + /// Moved to due to MSAL. /// public IAzureTokenCache TokenCache { get; set; } = null; diff --git a/src/Accounts/Authentication.ResourceManager/Models/PSAzureSubscriptionPolicy.cs b/src/Accounts/Authentication.ResourceManager/Models/PSAzureSubscriptionPolicy.cs index 3a40abdd7a8a..1afe6b937dd5 100644 --- a/src/Accounts/Authentication.ResourceManager/Models/PSAzureSubscriptionPolicy.cs +++ b/src/Accounts/Authentication.ResourceManager/Models/PSAzureSubscriptionPolicy.cs @@ -16,7 +16,7 @@ public PSAzureSubscriptionPolicy() /// /// object constructor /// - /// Json string to convert + /// Json string to convert public PSAzureSubscriptionPolicy(SubscriptionPolicies subscriptionPolicies) { if (subscriptionPolicies != null) diff --git a/src/Accounts/Authentication/AdalLogger.cs b/src/Accounts/Authentication/AdalLogger.cs index 5c82a472b19d..26d8c9e13e73 100644 --- a/src/Accounts/Authentication/AdalLogger.cs +++ b/src/Accounts/Authentication/AdalLogger.cs @@ -131,6 +131,7 @@ internal static void Disable(AdalLogger logger) /// /// The log level /// The log message + /// public void Log(LogLevel level, string message, bool containsPII) { foreach (var logger in _loggers) diff --git a/src/Accounts/Authentication/Authentication/IClaimsChallengeProcessor.cs b/src/Accounts/Authentication/Authentication/IClaimsChallengeProcessor.cs index 1cdac6dee2de..b331fd9dfeb2 100644 --- a/src/Accounts/Authentication/Authentication/IClaimsChallengeProcessor.cs +++ b/src/Accounts/Authentication/Authentication/IClaimsChallengeProcessor.cs @@ -29,7 +29,7 @@ public interface IClaimsChallengeProcessor /// The origin request that responds with a claim challenge /// Claims challenge string /// Cancelation token - /// Successful or not + /// Successful or not ValueTask OnClaimsChallenageAsync(HttpRequestMessage request, string claimsChallenge, CancellationToken cancellationToken); } } diff --git a/src/Accounts/Authentication/ClaimsChallengeHandler.cs b/src/Accounts/Authentication/ClaimsChallengeHandler.cs index b33fe3b5644d..e0956afaa566 100644 --- a/src/Accounts/Authentication/ClaimsChallengeHandler.cs +++ b/src/Accounts/Authentication/ClaimsChallengeHandler.cs @@ -59,7 +59,9 @@ public virtual object Clone() /// Executed in the event a 401 response with a WWW-Authenticate authentication challenge header is received after the initial request. /// /// This implementation handles common authentication challenges such as claims challenges. Service client libraries may derive from this and extend to handle service specific authentication challenges. - /// The HttpMessage to be authenticated. + /// The HttpMessage to be authenticated. + /// + /// /// A boolean indicated whether the request should be retried protected virtual async Task OnChallengeAsync(HttpRequestMessage requestMessage, HttpResponseMessage responseMessage, CancellationToken cancellationToken) { diff --git a/src/Accounts/Authentication/Config/Internal/ConfigurationBuilder.cs b/src/Accounts/Authentication/Config/Internal/ConfigurationBuilder.cs index 03ab860ccbe9..21fa0f69f658 100644 --- a/src/Accounts/Authentication/Config/Internal/ConfigurationBuilder.cs +++ b/src/Accounts/Authentication/Config/Internal/ConfigurationBuilder.cs @@ -39,6 +39,7 @@ internal class ConfigurationBuilder : IConfigurationBuilder /// /// Adds a new configuration source. /// + /// /// The configuration source to add. /// The same . public IConfigurationBuilder Add(string id, IConfigurationSource source) diff --git a/src/Accounts/Authentication/Config/Internal/ConfigurationExtensions.cs b/src/Accounts/Authentication/Config/Internal/ConfigurationExtensions.cs index d6fc15915959..c5c7ba155c76 100644 --- a/src/Accounts/Authentication/Config/Internal/ConfigurationExtensions.cs +++ b/src/Accounts/Authentication/Config/Internal/ConfigurationExtensions.cs @@ -28,6 +28,7 @@ internal static class ConfigurationExtensions /// Adds a new configuration source. /// /// The to add to. + /// /// Configures the source secrets. /// The . public static IConfigurationBuilder Add(this IConfigurationBuilder builder, string id, Action configureSource) where TSource : IConfigurationSource, new() diff --git a/src/Accounts/Authentication/Config/Internal/Interfaces/IConfigurationBuilder.cs b/src/Accounts/Authentication/Config/Internal/Interfaces/IConfigurationBuilder.cs index 760ab3f997e7..e03e66d97359 100644 --- a/src/Accounts/Authentication/Config/Internal/Interfaces/IConfigurationBuilder.cs +++ b/src/Accounts/Authentication/Config/Internal/Interfaces/IConfigurationBuilder.cs @@ -35,6 +35,7 @@ internal interface IConfigurationBuilder /// /// Adds a new configuration source. /// + /// /// The configuration source to add. /// The same . IConfigurationBuilder Add(string id, IConfigurationSource source); diff --git a/src/Accounts/Authentication/Config/Internal/Interfaces/IConfigurationSource.cs b/src/Accounts/Authentication/Config/Internal/Interfaces/IConfigurationSource.cs index 975c175086a1..9b2c98269f55 100644 --- a/src/Accounts/Authentication/Config/Internal/Interfaces/IConfigurationSource.cs +++ b/src/Accounts/Authentication/Config/Internal/Interfaces/IConfigurationSource.cs @@ -23,6 +23,7 @@ internal interface IConfigurationSource /// Builds the for this source. /// /// The . + /// /// An IConfigurationProvider Build(IConfigurationBuilder builder, string id); } diff --git a/src/Accounts/Authentication/Config/Internal/Providers/JsonConfigurationExtensions.cs b/src/Accounts/Authentication/Config/Internal/Providers/JsonConfigurationExtensions.cs index 81850eb386d8..2f63ff131100 100644 --- a/src/Accounts/Authentication/Config/Internal/Providers/JsonConfigurationExtensions.cs +++ b/src/Accounts/Authentication/Config/Internal/Providers/JsonConfigurationExtensions.cs @@ -27,6 +27,7 @@ internal static class JsonConfigurationExtensions /// Adds a JSON configuration source to . /// /// The to add to. + /// /// The to read the json configuration data from. /// The . public static IConfigurationBuilder AddJsonStream(this IConfigurationBuilder builder, string id, Stream stream) diff --git a/src/Accounts/Authentication/Config/Internal/Providers/JsonStreamConfigurationSource.cs b/src/Accounts/Authentication/Config/Internal/Providers/JsonStreamConfigurationSource.cs index 8e46465f1e84..cfa86b542f3c 100644 --- a/src/Accounts/Authentication/Config/Internal/Providers/JsonStreamConfigurationSource.cs +++ b/src/Accounts/Authentication/Config/Internal/Providers/JsonStreamConfigurationSource.cs @@ -25,6 +25,7 @@ internal class JsonStreamConfigurationSource : StreamConfigurationSource /// Builds the for this source. /// /// The . + /// /// An public override IConfigurationProvider Build(IConfigurationBuilder builder, string id) => new JsonStreamConfigurationProvider(this, id); diff --git a/src/Accounts/Authentication/Config/Internal/Providers/StreamConfigurationProvider.cs b/src/Accounts/Authentication/Config/Internal/Providers/StreamConfigurationProvider.cs index 934541cd943d..82a9844f1bfb 100644 --- a/src/Accounts/Authentication/Config/Internal/Providers/StreamConfigurationProvider.cs +++ b/src/Accounts/Authentication/Config/Internal/Providers/StreamConfigurationProvider.cs @@ -33,6 +33,7 @@ internal abstract class StreamConfigurationProvider : ConfigurationProvider /// Constructor. /// /// The source. + /// public StreamConfigurationProvider(StreamConfigurationSource source, string id) : base(id) { Source = source ?? throw new ArgumentNullException(nameof(source)); diff --git a/src/Accounts/Authentication/Config/Internal/Providers/StreamConfigurationSource.cs b/src/Accounts/Authentication/Config/Internal/Providers/StreamConfigurationSource.cs index 388cae463514..7aec2b47ef29 100644 --- a/src/Accounts/Authentication/Config/Internal/Providers/StreamConfigurationSource.cs +++ b/src/Accounts/Authentication/Config/Internal/Providers/StreamConfigurationSource.cs @@ -31,6 +31,7 @@ internal abstract class StreamConfigurationSource : IConfigurationSource /// Builds the for this source. /// /// The . + /// /// An public abstract IConfigurationProvider Build(IConfigurationBuilder builder, string id); } diff --git a/src/Accounts/Authentication/Config/Internal/Providers/UnsettableMemoryConfigurationProvider.cs b/src/Accounts/Authentication/Config/Internal/Providers/UnsettableMemoryConfigurationProvider.cs index 551bf68bccd8..d1b86e57ef0f 100644 --- a/src/Accounts/Authentication/Config/Internal/Providers/UnsettableMemoryConfigurationProvider.cs +++ b/src/Accounts/Authentication/Config/Internal/Providers/UnsettableMemoryConfigurationProvider.cs @@ -30,6 +30,7 @@ internal class UnsettableMemoryConfigurationProvider : ConfigurationProvider, IE /// Initialize a new instance from the source. /// /// The source settings. + /// public UnsettableMemoryConfigurationProvider(UnsettableMemoryConfigurationSource source, string id): base(id) { if (source == null) diff --git a/src/Accounts/Authenticators/Identity/ITokenCacheOptions.cs b/src/Accounts/Authenticators/Identity/ITokenCacheOptions.cs index d2da3a992aaa..6b8866f5fad6 100644 --- a/src/Accounts/Authenticators/Identity/ITokenCacheOptions.cs +++ b/src/Accounts/Authenticators/Identity/ITokenCacheOptions.cs @@ -27,7 +27,7 @@ public class TokenCachePersistenceOptions /// /// If set to true the token cache may be persisted as an unencrypted file if no OS level user encryption is available. When set to false the token cache - /// will throw a in the event no OS level user encryption is available. + /// will throw a /// public bool UnsafeAllowUnencryptedStorage { get; set; } }