Braze JavaScript SDK
    Preparing search index...

    Function setSdkAuthenticationSignature

    • Sets the signature to be used to authenticate the current user. You can also set the signature when calling [[changeUser]]. This signature will only have an effect if the enableSdkAuthentication initialization option is set to true.

      Parameters

      • signature: string

        The signature to add to network requests to authenticate the current user.

      Returns Promise<boolean>

      Whether or not the signature is valid.