Class SmartySettings
- Namespace
- SEBT.Portal.Core.AppSettings
- Assembly
- SEBT.Portal.Core.dll
Configuration for Smarty US Street Address API.
public sealed class SmartySettings : IHaveConfigSectionName
- Inheritance
-
objectSmartySettings
- Implements
Properties
AuthId
Smarty embedded key auth-id.
public string? AuthId { get; set; }
Property Value
- string
AuthToken
Smarty embedded key auth-token (secret).
public string? AuthToken { get; set; }
Property Value
- string
BaseUrl
API host without trailing slash (e.g. https://us-street.api.smarty.com).
public string BaseUrl { get; set; }
Property Value
- string
Enabled
When false, the portal uses pass-through normalization only (no HTTP calls to Smarty).
public bool Enabled { get; set; }
Property Value
- bool
SectionName
public static string SectionName { get; }
Property Value
- string
TimeoutSeconds
HTTP timeout for Smarty requests.
[Range(1, 120)]
public int TimeoutSeconds { get; set; }
Property Value
- int