Class BasicAuthService
Inheritance
System.Object
Assembly: cs.temp.dll.dll
Syntax
public class BasicAuthService : IBasicAuthService
Constructors
BasicAuthService(IOptionsMonitor<BasicAuthSettings>)
Declaration
public BasicAuthService(IOptionsMonitor<BasicAuthSettings> optionsMonitor)
Parameters
Type |
Name |
Description |
IOptionsMonitor<BasicAuthSettings> |
optionsMonitor |
|
Methods
IsBasicAuthEnabled()
Declaration
public bool IsBasicAuthEnabled()
Returns
Type |
Description |
System.Boolean |
|
IsIpAllowListed(IPAddress)
Declaration
public bool IsIpAllowListed(IPAddress clientIpAddress)
Parameters
Type |
Name |
Description |
IPAddress |
clientIpAddress |
|
Returns
Type |
Description |
System.Boolean |
|