CDP Frontend SDK
    Preparing search index...

    Interface AuthButtonProps

    The props for the AuthButton component.

    interface AuthButtonProps {
        closeOnSuccessDelay?: null | number;
        onSignInSuccess?: () => void;
        onSignInSuccessTransitionEnd?: () => void;
        onSignOutSuccess?: () => void;
    }
    Index

    Properties

    closeOnSuccessDelay?: null | number

    The delay in milliseconds before the sign in modal is closed and the sign out button is shown after the sign in is successful. If null, the sign in modal will not be closed automatically. If 0, the sign in modal will be closed immediately.

    onSignInSuccess?: () => void

    A function to call when the sign in is successful.

    onSignInSuccessTransitionEnd?: () => void

    A function to call after the sign in success, when the dialog close transition ends.

    onSignOutSuccess?: () => void

    A function to call when the sign out is successful.