@umbraco-cms/backoffice

    Interface UmbMfaProviderConfigurationElementProps

    interface UmbMfaProviderConfigurationElementProps {
        callback: (
            providerName: string,
            code: string,
            secret: string,
        ) => UmbMfaProviderConfigurationCallback;
        close: () => void;
        displayName: string;
        providerName: string;
    }

    Implemented by

    Index

    Properties

    callback: (
        providerName: string,
        code: string,
        secret: string,
    ) => UmbMfaProviderConfigurationCallback

    Call this function to execute the action for the given provider, e.g. to enable or disable it.

    Type declaration

      • (
            providerName: string,
            code: string,
            secret: string,
        ): UmbMfaProviderConfigurationCallback
      • Parameters

        • providerName: string

          The name of the provider to enable.

        • code: string

          The authentication code from the authentication method.

        • secret: string

          The secret from the authentication backend.

        Returns UmbMfaProviderConfigurationCallback

        A promise that resolves when the action is completed with an error if the action failed.

    close: () => void

    Call this function to close the modal.

    displayName: string

    The display name of the provider. If this is not set, the provider name will be used.

    providerName: string

    The name of the provider reflecting the provider name in the backend.

    MMNEPVFCICPMFPCPTTAAATR