Editor Scripting API
    Preparing search index...

    Component that allows you to check whether Lens Studio is authorized, as well as get authorization. Requires snap_auth_token in the module.json of your plugin.

    Hierarchy (View Summary)

    Index

    Properties

    idToken: string
    interfaceId: InterfaceId
    isAuthorized: boolean

    Current authorization state.

    onAuthorizationChange: signal1<boolean, void>

    Signal that responds to changes in authorization state.

    Methods

    • Initiate the authorization flow.

      Returns void