{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"SDK Reference","type":"markdown"},"seo":{"title":"InitializeOptions","description":"Everything about Mosaic Journeys, SDKs, and APIs","siteUrl":"https://developer.transmitsecurity.com"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"initializeoptions","__idx":0},"children":["InitializeOptions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Options for ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-ref/cordova-ts-identity-orchestration/functions#initialize"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["initialize()"]}]},". Passed as a plain JavaScript object."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"properties","__idx":1},"children":["Properties"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"serverpath","__idx":2},"children":["serverPath"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Optional"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["serverPath"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mosaic API base URL. Defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.transmitsecurity.io"]},". See the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-ref/cordova-ts-identity-orchestration/orchestration_overview#credentials"},"children":["regional base URLs"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"resource","__idx":3},"children":["resource"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Optional"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["resource"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Resource URI from ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Applications"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Resources"]}," in the Admin Portal. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/user/manage_resources"},"children":["Manage resources"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"pollingtimeout","__idx":4},"children":["pollingTimeout"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Optional"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["pollingTimeout"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Polling timeout, in seconds."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"locale","__idx":5},"children":["locale"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Optional"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["locale"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Locale as an RFC 5646 language tag, such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["en-US"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"collectriskdata","__idx":6},"children":["collectRiskData"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Optional"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["collectRiskData"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", the SDK collects device events and sends them to Mosaic. Set this when the journey uses the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/orchestration/journeys/risk_level_analysis"},"children":["Risk Level Analysis"]}," step, which is where ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/user/identity_threat_protection"},"children":["Identity Threat Protection"]}," evaluates the interaction."]}]},"headings":[{"value":"InitializeOptions","id":"initializeoptions","depth":1},{"value":"Properties","id":"properties","depth":2},{"value":"serverPath","id":"serverpath","depth":3},{"value":"resource","id":"resource","depth":3},{"value":"pollingTimeout","id":"pollingtimeout","depth":3},{"value":"locale","id":"locale","depth":3},{"value":"collectRiskData","id":"collectriskdata","depth":3}],"frontmatter":{"title":"InitializeOptions","seo":{"title":"InitializeOptions"}},"lastModified":"2026-11-01T13:59:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdk-ref/cordova-ts-identity-orchestration/interfaces/initializeoptions","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}