Authentication Option
Options for user authentication. You can choose between several authentication modes.
Inheritors
Types
Anonymous authentication option. Use it for unidentified visitors browsing your app.
Interface callback called to inform the SDK about the JWE token retrieval.
Interface for the JSON web encrypted token provider. If you use secured authentication you will have to implement this interface to provide an up-to-date token at SDK activation and after token expiration.
Secured authentication option. Use it in conjunction with your in-house authentication system. You must pass a jwe provider object that wil be called when an authentication is needed, that means at first on SDK activation, then each time the token needs to be refreshed.
Simple authentication option. Use it when you have a logged in user in your app. You must pass a unique identifier so that the visitor will retrieve his conversation history across multiple devices and platforms.