Search Results for

    Show / Hide Table of Contents

    TSphinxClientApp.OnValidateSecret Event

    Fires when a client secret is about to be validated.

    Remarks

    In general you should just inform the client secret hash to Sphixn using AddSha256Secret method and it will automatically validate client credentials when needed. But there are situations you might want to do a more custom validation. Use OnValidateSecret event to perform a custom validation of the client secret. The secret is passed as a parameter and then you should set the Valid parameter to true or false depending on whether it is valid or not.

    Syntax

    Unit: Sphinx.Comp.ClientApp

    property TSphinxClientApp.OnValidateSecret: TValidateSecretEvent

    See also

    • TSphinxClientApp
    In This Article
    Back to top TMS Sphinx v1.15
    © 2021 - 2025 tmssoftware.com