SettingsUpsert is a [settings.Settings] upsert (create/update) form.

Hierarchy

Implemented by

Methods

  • Merge merges other settings into the current one.

    Parameters

    Returns void

  • NamedAuthProviderConfigs returns a map with all registered OAuth2 provider configurations (indexed by their name identifier).

    Returns _TygojaDict

  • RedactClone creates a new deep copy of the current settings, while replacing the secret values with ******.

    Returns Settings

  • SetDao replaces the default form Dao instance with the provided one.

    Parameters

    Returns void

  • Submit validates the form and upserts the loaded settings.

    On success the app settings will be refreshed with the form ones.

    You can optionally provide a list of InterceptorFunc to further modify the form behavior before persisting it.

    Parameters

    Returns void

  • Validate makes the form validatable by implementing [validation.Validatable] interface.

    Returns void

Properties

adminAuthToken: TokenConfig
adminFileToken: TokenConfig
adminPasswordResetToken: TokenConfig
backups: BackupsConfig
bitbucketAuth: AuthProviderConfig
discordAuth: AuthProviderConfig
emailAuth: EmailAuthConfig

Deprecated: Will be removed in v0.9+

facebookAuth: AuthProviderConfig
githubAuth: AuthProviderConfig
gitlabAuth: AuthProviderConfig
googleAuth: AuthProviderConfig
instagramAuth: AuthProviderConfig
livechatAuth: AuthProviderConfig
mailcowAuth: AuthProviderConfig
microsoftAuth: AuthProviderConfig
patreonAuth: AuthProviderConfig
planningcenterAuth: AuthProviderConfig
recordAuthToken: TokenConfig
recordEmailChangeToken: TokenConfig
recordFileToken: TokenConfig
recordPasswordResetToken: TokenConfig
recordVerificationToken: TokenConfig
spotifyAuth: AuthProviderConfig
stravaAuth: AuthProviderConfig
twitchAuth: AuthProviderConfig
twitterAuth: AuthProviderConfig
yandexAuth: AuthProviderConfig

Generated using TypeDoc