Home > @magiclane/maps-sdk > SdkSettings > verifyAppAuthorization
SdkSettings.verifyAppAuthorization() method
Verifies an app token. Validates the provided token and reports progress through the specified callback.
Signature:
static verifyAppAuthorization(token: string, callback: (err: GemError) => void): void;Parameters
Parameter | Type | Description |
|---|---|---|
token | string | The token to be verified. Must be a valid JWT token. |
callback | (err: GemError) => void | An operation progress callback that handles the validation process. |
Returns:
void
Exceptions
An exception if it fails.