API reference
Design
addAudioTrackaddElementAtCursoraddElementAtPointaddPagebulkCreate.launchChangelogcreateRichtextRangeeditContentgetCurrentPageContextgetDesignMetadatagetDesignTemplateMetadatagetDesignTokeninitAppElementopenDesignoverlay.registerOnCanOpenpublish.launchrequestExportselection.registerOnChangesetCurrentPageBackgroundui.startDragToCursorui.startDragToPoint
Intents: Asset
Intents: Content
Intents: data
Intents: design
Platform
appProcessappProcess.broadcastMessageappProcess.currentappProcess.current.getInfoappProcess.current.requestCloseappProcess.current.setOnDisposeappProcess.requestCloseappProcess.registerOnMessageappProcess.registerOnStateChangefeatures.isSupportedfeatures.registerOnSupportChangegetPlatformInfonotification.addToastrequestOpenExternalUrl
App middleware: Express
TokenVerificationError
API reference for the TokenVerificationError method.
This API is a preview. Preview APIs are unstable and may change without warning. You can't release public apps using this API until it's stable.
Base class for all token verification errors. All token verification errors extend this class.
Constructors
constructorfunctionRequired
Constructor
Parameters
messagestringRequired
codeErrorCodeRequired
An error code that identifies why an error was thrown by the app middleware.
Available values:
"TOKEN_MISSING""TOKEN_EXPIRED""TOKEN_INVALID"
statusCodenumberRequired
Properties
codeErrorCodeRead-onlyRequired
Machine-readable error code
Available values:
"TOKEN_MISSING""TOKEN_EXPIRED""TOKEN_INVALID"
statusCodenumberRead-onlyRequired
HTTP status code to use when responding to the client
Methods
[hasInstance]functionRequired
Parameters
instanceunknownRequired
Returns
instance is TokenVerificationError