BasicAuthenticationAttribute now respects the IBasicAuthenticationValidator.Realm when the own Realm property is not set. IBasicAuthenticationValidator.Realm is now a read-only property (removed public set).
This commit is contained in:
@@ -10,9 +10,9 @@ namespace AMWD.Common.AspNetCore.BasicAuthentication
|
||||
public interface IBasicAuthenticationValidator
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the realm to use when requesting authentication.
|
||||
/// Gets the realm to use when requesting authentication.
|
||||
/// </summary>
|
||||
string Realm { get; set; }
|
||||
string Realm { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Validates a username and password for Basic Authentication.
|
||||
|
||||
Reference in New Issue
Block a user