Class UseHttpsValidator
Validates whether HTTPS is enforced when in production runtime mode.
Namespace: Umbraco.Cms.Infrastructure.Runtime.RuntimeModeValidators
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UseHttpsValidator : RuntimeModeProductionValidatorBase, IRuntimeModeValidator
Constructors
View SourceUseHttpsValidator(IOptionsMonitor<GlobalSettings>)
Initializes a new instance of the Use
Declaration
public UseHttpsValidator(IOptionsMonitor<GlobalSettings> globalSettings)
Parameters
Type | Name | Description |
---|---|---|
IOptions |
globalSettings | The global settings. |
Methods
View SourceValidate(out String)
Validates configuration based on the production runtime mode.
Declaration
protected override bool Validate(out string validationErrorMessage)
Parameters
Type | Name | Description |
---|---|---|
System. |
validationErrorMessage | The validation error message. |
Returns
Type | Description |
---|---|
System. |
|