initialize

fun initialize(context: Context, clientID: String, baseUrl: String, domain: String? = null, initOptions: TSAuthenticationInitOptions? = null)

Initialize the SDK.

Parameters

context

application context object.

clientID

your client identifier from the Transmit portal.

baseUrl

base URL for the Transmit Security API. Defaults to "https://api.transmitsecurity.io/" if omitted via the other overload.

domain

optional domain override for WebAuthn (RP ID).

initOptions

optional advanced initialization options (e.g. custom WebAuthn API paths).


fun initialize(context: Context, clientID: String)

Initialize the SDK using the default API base URL ("https://api.transmitsecurity.io/").

Parameters

context

application context object.

clientID

your client identifier from the Transmit portal.