78.2.0+

1. configure() Initialization Function

Before using any SDK feature, you must explicitly call the configuration method.

Required Setup:

TruvideoSdk.configure(with: options)

Purpose:

  • Sets up user session and internal SDK configuration.

  • Must be invoked before any authentication or SDK module usage.

Authentication Status

The Truvideo SDK provides two properties that serve to check the authentication status:

  • isAuthenticated : Returns true or false indicating whether the client is authenticated. Please note that authentication may be expired.

let isAuthenticated = TruvideoSdk.isAuthenticated;

How to authenticate

The authenticate method requires the following inputs:

  1. ApiKey: A string provided by Truvideo upon registration.

  2. Secret key: A string provided by Truvideo upon registration.

  3. External Id : A string provided by Truvideo upon registration.

Authentication process

Sign Out

To delete the current session and erase all associated authentication data, utilize the signOut method

This command will remove all authentication data and reset the session.

Last updated

Was this helpful?