@umbraco-cms/backoffice

    Interface MetaAuthProvider

    interface MetaAuthProvider {
        behavior?: {
            autoRedirect?: boolean;
            popupFeatures?: string;
            popupTarget?: string;
        };
        defaultView?: {
            color?: UUIInterfaceColor;
            icon?: string;
            look?: UUIInterfaceLook;
        };
        label?: string;
        linking?: { allowManualLinking?: boolean };
    }
    Index

    Properties

    behavior?: {
        autoRedirect?: boolean;
        popupFeatures?: string;
        popupTarget?: string;
    }

    The behavior of the provider when it is used.

    Type declaration

    • OptionalautoRedirect?: boolean

      If true, the user will be redirected to the provider's login page immediately.

      false
      
    • OptionalpopupFeatures?: string

      The features of the popup that is opened when the user logs in.

      'width=600,height=600,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,toolbar=no'
      

      This is the features of the window that is opened when the user logs in.

    • OptionalpopupTarget?: string

      The target of the popup that is opened when the user logs in.

      'umbracoAuthPopup'
      

      This is the name of the window that is opened when the user logs in, use _blank to open in a new tab.

    defaultView?: {
        color?: UUIInterfaceColor;
        icon?: string;
        look?: UUIInterfaceLook;
    }

    The default view of the provider that is shown to the user. If no element is provided, then the button will be rendered as a

    Type declaration

    • Optionalcolor?: UUIInterfaceColor

      The color of the provider that is shown to the user.

      'secondary'
      
    • Optionalicon?: string

      The icon of the provider that is shown to the user.

      ['icon-cloud', 'icon-github', 'icon-google', 'icon-facebook', 'icon-twitter', 'icon-x', 'icon-microsoft']

      'icon-cloud'
      
    • Optionallook?: UUIInterfaceLook

      The look of the provider that is shown to the user.

      'default'
      

    using these options.

    label?: string

    The label of the provider that is shown to the user.

    linking?: { allowManualLinking?: boolean }

    The linking options of the provider when it is used.

    Type declaration

    • OptionalallowManualLinking?: boolean

      If true, the user will be able to link the provider to an existing account.

      false
      
    MMNEPVFCICPMFPCPTTAAATR