Configurations

secretKey
string
required

The Raccoon Secret Key.

callbacks
object

Callbacks for success and error.

Returns

isLoaded
boolean

Indicates whether the SDK has finished loading.

isLoggingIn
boolean

Indicates whether a login operation is in progress.

error
TailError | undefined

Contains error information if an error occurred.

availableApps
App[]

List of available applications that can be linked.

enableRemoveBranding
boolean

Flag indicating whether branding can be removed.

Links an application with the given name using a raccoon passcode.

returns
Promise<boolean>

Resolves to true if linking was successful.

Unlinks an application with the given name.

returns
Promise<boolean>

Resolves to true if unlinking was successful.

getApps
function

Retrieves list of all available apps.

returns
Promise<App[]>

Resolves to array of available apps.

getLinkedApps
function

Retrieves list of linked apps for the given Raccoon Passcode.

returns
Promise<string[]>

Resolves to array of linked app names.