{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"SDK Reference","type":"markdown"},"seo":{"title":"Functions","description":"Everything about Mosaic Journeys, SDKs, and APIs","siteUrl":"https://developer.transmitsecurity.com/","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"functions","__idx":0},"children":["Functions"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"initializesdk","__idx":1},"children":["initializeSDK"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["initializeSDK"]},"(): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<void>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Initializes the Authentication SDK using credentials from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Info.plist"]}," (iOS) or native configuration (Android)."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example","__idx":2},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"import 'package:flutter_ts_authentication/flutter_ts_authentication.dart';\n\nfinal auth = FlutterTsAuthentication();\nawait auth.initializeSDK();\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"initialize","__idx":3},"children":["initialize"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["initialize"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clientId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["domain"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["baseUrl"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["initOptions"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<void>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Initializes the SDK with explicit parameters and WebAuthn configuration."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters","__idx":4},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clientId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Your Mosaic client ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["domain"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Your application domain"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["baseUrl"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["API endpoint URL"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["initOptions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSInitOptions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Configuration options containing WebAuthn settings"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-1","__idx":5},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final initOptions = TSInitOptions(\n  webAuthnInitOptions: TSWebAuthnInitOptions(\n    startAuthentication: '/auth/webauthn/authenticate',\n    startRegistration: '/auth/webauthn/register',\n  ),\n);\n\nawait auth.initialize(\n  'CLIENT_ID',\n  'your-domain.com',\n  'https://api.transmitsecurity.io',\n  initOptions\n);\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"registerpincode","__idx":6},"children":["registerPinCode"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["registerPinCode"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pinCode"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSPinCodeRegistrationCompletion>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Registers a PIN code for the specified user. After successful registration, commit it using ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["commitPinRegistration"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-1","__idx":7},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pinCode"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The PIN code to register"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns","__idx":8},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSPinCodeRegistrationCompletion"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKeyId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKey"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["keyType"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contextIdentifier"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-2","__idx":9},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.registerPinCode('username', '123456');\nawait auth.commitPinRegistration(result.contextIdentifier);\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commitpinregistration","__idx":10},"children":["commitPinRegistration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["commitPinRegistration"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contextIdentifier"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<void>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Commits a pending PIN code registration."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-2","__idx":11},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contextIdentifier"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The context identifier returned from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["registerPinCode"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"authenticatepincode","__idx":12},"children":["authenticatePinCode"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["authenticatePinCode"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pinCode"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSPinCodeAuthenticationCompletion>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Authenticates a user with their registered PIN code."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-3","__idx":13},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pinCode"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The PIN code to authenticate with"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["A server-generated challenge string"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-1","__idx":14},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSPinCodeAuthenticationCompletion"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKeyId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signature"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-3","__idx":15},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.authenticatePinCode('username', '123456', 'challenge-string');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"registernativebiometrics","__idx":16},"children":["registerNativeBiometrics"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["registerNativeBiometrics"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSBiometricsRegistrationResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Registers native biometrics (FaceID/TouchID or fingerprint) for the specified user."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-4","__idx":17},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-2","__idx":18},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSBiometricsRegistrationResult"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKey"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKeyId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["os"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["keyType"]},", and optional ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attestation"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-4","__idx":19},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.registerNativeBiometrics('username');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"authenticatenativebiometrics","__idx":20},"children":["authenticateNativeBiometrics"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["authenticateNativeBiometrics"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSBiometricsAuthenticationResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Authenticates a user using their registered biometrics."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-5","__idx":21},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["A server-generated challenge string"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-3","__idx":22},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSBiometricsAuthenticationResult"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKeyId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signature"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-5","__idx":23},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.authenticateNativeBiometrics('username', 'challenge-string');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"unregisternativebiometrics","__idx":24},"children":["unregisterNativeBiometrics"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["unregisterNativeBiometrics"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userId"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSNativeBiometricsUnregisterResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Unregisters native biometrics for the specified user."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-6","__idx":25},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-4","__idx":26},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSNativeBiometricsUnregisterResult"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKeyId"]}," of the unregistered biometric."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-6","__idx":27},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.unregisterNativeBiometrics('userId');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"approvalnativebiometrics","__idx":28},"children":["approvalNativeBiometrics"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["approvalNativeBiometrics"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSBiometricsAuthenticationResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Performs biometric approval for transaction signing or sensitive operations."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-7","__idx":29},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["A server-generated challenge string"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-5","__idx":30},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSBiometricsAuthenticationResult"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKeyId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signature"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-7","__idx":31},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.approvalNativeBiometrics('username', 'challenge-string');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"iswebauthnsupported","__idx":32},"children":["isWebAuthnSupported"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["isWebAuthnSupported"]},"(): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<bool>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Checks if WebAuthn is supported on the current device."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-6","__idx":33},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bool"]},"—",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," if WebAuthn is supported."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-8","__idx":34},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final isSupported = await auth.isWebAuthnSupported();\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"registerwebauthn","__idx":35},"children":["registerWebAuthn"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["registerWebAuthn"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["displayName"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSWebAuthnResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Registers a WebAuthn passkey for the specified user."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-8","__idx":36},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["displayName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Display name shown during passkey registration"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-7","__idx":37},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSWebAuthnResult"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-9","__idx":38},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.registerWebAuthn('username', 'Display Name');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"authenticatewebauthn","__idx":39},"children":["authenticateWebAuthn"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["authenticateWebAuthn"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSWebAuthnResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Authenticates a user using their registered WebAuthn passkey."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-9","__idx":40},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-8","__idx":41},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSWebAuthnResult"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-10","__idx":42},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.authenticateWebAuthn('username');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"signwebauthntransaction","__idx":43},"children":["signWebauthnTransaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["signWebauthnTransaction"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSWebAuthnResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Signs a transaction using the user's WebAuthn credential."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-10","__idx":44},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-9","__idx":45},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSWebAuthnResult"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-11","__idx":46},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.signWebauthnTransaction('username');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"approvalwebauthn","__idx":47},"children":["approvalWebAuthn"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["approvalWebAuthn"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalData"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSWebAuthnResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Performs WebAuthn approval with custom approval data."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-11","__idx":48},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalData"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Map<String, String>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Key-value pairs describing the operation to approve"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The user identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["List<String>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Additional options for the approval"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-10","__idx":49},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSWebAuthnResult"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-12","__idx":50},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final approvalData = {'transaction': 'transfer', 'amount': '100'};\nfinal options = <String>['option1', 'option2'];\n\nfinal result = await auth.approvalWebAuthn(approvalData, 'username', options);\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"approvalwebauthnwithdata","__idx":51},"children":["approvalWebAuthnWithData"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["approvalWebAuthnWithData"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["authData"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSWebAuthnResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Performs WebAuthn approval using raw authentication data."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-12","__idx":52},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["authData"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSWebAuthnAuthenticationData"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Pre-obtained WebAuthn authentication data"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["List<String>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Additional options for the approval"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-11","__idx":53},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSWebAuthnResult"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-13","__idx":54},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final authData = TSWebAuthnAuthenticationData(data: {\n  'webauthnSessionId': 'session-id',\n  'credentialRequestOptions': {}\n});\n\nfinal result = await auth.approvalWebAuthnWithData(authData, options);\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"registertotp","__idx":55},"children":["registerTOTP"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["registerTOTP"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uri"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["securityType"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSTOTPRegistrationCompletion>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Registers a TOTP authenticator from a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["otpauth://"]}," URI."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-13","__idx":56},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uri"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The TOTP provisioning URI (e.g., ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["otpauth://totp/..."]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["securityType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSTOTPSecurityType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".biometric"]}," requires biometric authentication to generate codes; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".none"]}," has no additional security"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-12","__idx":57},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSTOTPRegistrationCompletion"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["issuer"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["label"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uuid"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-14","__idx":58},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.registerTOTP(\n  'otpauth://totp/Example:user@example.com?secret=JBSWY3DPEHPK3PXP&issuer=Example',\n  TSTOTPSecurityType.biometric\n);\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"generatetotpcode","__idx":59},"children":["generateTOTPCode"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["generateTOTPCode"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uuid"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSTOTPGenerateCodeCompletion>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Generates a TOTP code for standard time-based authentication."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-14","__idx":60},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uuid"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The TOTP identifier returned from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["registerTOTP"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-13","__idx":61},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSTOTPGenerateCodeCompletion"]},"—contains the generated ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-15","__idx":62},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.generateTOTPCode('your-totp-uuid');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"generatetotpcodewithchallenge","__idx":63},"children":["generateTOTPCodeWithChallenge"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["generateTOTPCodeWithChallenge"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uuid"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSTOTPGenerateCodeCompletion>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Generates a TOTP code bound to a challenge for transaction signing or enhanced security scenarios."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-15","__idx":64},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uuid"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The TOTP identifier returned from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["registerTOTP"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["A server-generated challenge string"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-14","__idx":65},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSTOTPGenerateCodeCompletion"]},"—contains the generated ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-16","__idx":66},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.generateTOTPCodeWithChallenge('your-totp-uuid', 'challenge-string');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"signwithdevicekey","__idx":67},"children":["signWithDeviceKey"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["signWithDeviceKey"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<TSSignChallengeResult>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Signs a challenge using the device key for secure authentication and transaction validation."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-16","__idx":68},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challenge"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The challenge to sign"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-15","__idx":69},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TSSignChallengeResult"]},"—contains the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signature"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-17","__idx":70},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final result = await auth.signWithDeviceKey('challenge-to-sign');\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"getdeviceinfo","__idx":71},"children":["getDeviceInfo"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["getDeviceInfo"]},"(): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<DeviceInfo>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieves the device's public key information."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-16","__idx":72},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DeviceInfo"]},"—contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKeyId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKey"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-18","__idx":73},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"final deviceInfo = await auth.getDeviceInfo();\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"setloggingenabled","__idx":74},"children":["setLoggingEnabled"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["setLoggingEnabled"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enabled"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Future<bool>"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Enables or disables SDK logging for debugging."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters-17","__idx":75},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enabled"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bool"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," to enable logging, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," to disable"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returns-17","__idx":76},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bool"]},"—",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," if the configuration was applied successfully."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-19","__idx":77},"children":["Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"dart","header":{"controls":{"copy":{}}},"source":"await auth.setLoggingEnabled(true);\n","lang":"dart"},"children":[]},{"$$mdtype":"Tag","name":"style","attributes":{},"children":["\ntable th:first-of-type {\n    width: 30%;\n}\ntable th:nth-of-type(2) {\n    width: 30%;\n}\ntable th:nth-of-type(3) {\n    width: 40%;\n}\n"]}]},"headings":[{"value":"Functions","id":"functions","depth":1},{"value":"initializeSDK","id":"initializesdk","depth":2},{"value":"Example","id":"example","depth":3},{"value":"initialize","id":"initialize","depth":2},{"value":"Parameters","id":"parameters","depth":3},{"value":"Example","id":"example-1","depth":3},{"value":"registerPinCode","id":"registerpincode","depth":2},{"value":"Parameters","id":"parameters-1","depth":3},{"value":"Returns","id":"returns","depth":3},{"value":"Example","id":"example-2","depth":3},{"value":"commitPinRegistration","id":"commitpinregistration","depth":2},{"value":"Parameters","id":"parameters-2","depth":3},{"value":"authenticatePinCode","id":"authenticatepincode","depth":2},{"value":"Parameters","id":"parameters-3","depth":3},{"value":"Returns","id":"returns-1","depth":3},{"value":"Example","id":"example-3","depth":3},{"value":"registerNativeBiometrics","id":"registernativebiometrics","depth":2},{"value":"Parameters","id":"parameters-4","depth":3},{"value":"Returns","id":"returns-2","depth":3},{"value":"Example","id":"example-4","depth":3},{"value":"authenticateNativeBiometrics","id":"authenticatenativebiometrics","depth":2},{"value":"Parameters","id":"parameters-5","depth":3},{"value":"Returns","id":"returns-3","depth":3},{"value":"Example","id":"example-5","depth":3},{"value":"unregisterNativeBiometrics","id":"unregisternativebiometrics","depth":2},{"value":"Parameters","id":"parameters-6","depth":3},{"value":"Returns","id":"returns-4","depth":3},{"value":"Example","id":"example-6","depth":3},{"value":"approvalNativeBiometrics","id":"approvalnativebiometrics","depth":2},{"value":"Parameters","id":"parameters-7","depth":3},{"value":"Returns","id":"returns-5","depth":3},{"value":"Example","id":"example-7","depth":3},{"value":"isWebAuthnSupported","id":"iswebauthnsupported","depth":2},{"value":"Returns","id":"returns-6","depth":3},{"value":"Example","id":"example-8","depth":3},{"value":"registerWebAuthn","id":"registerwebauthn","depth":2},{"value":"Parameters","id":"parameters-8","depth":3},{"value":"Returns","id":"returns-7","depth":3},{"value":"Example","id":"example-9","depth":3},{"value":"authenticateWebAuthn","id":"authenticatewebauthn","depth":2},{"value":"Parameters","id":"parameters-9","depth":3},{"value":"Returns","id":"returns-8","depth":3},{"value":"Example","id":"example-10","depth":3},{"value":"signWebauthnTransaction","id":"signwebauthntransaction","depth":2},{"value":"Parameters","id":"parameters-10","depth":3},{"value":"Returns","id":"returns-9","depth":3},{"value":"Example","id":"example-11","depth":3},{"value":"approvalWebAuthn","id":"approvalwebauthn","depth":2},{"value":"Parameters","id":"parameters-11","depth":3},{"value":"Returns","id":"returns-10","depth":3},{"value":"Example","id":"example-12","depth":3},{"value":"approvalWebAuthnWithData","id":"approvalwebauthnwithdata","depth":2},{"value":"Parameters","id":"parameters-12","depth":3},{"value":"Returns","id":"returns-11","depth":3},{"value":"Example","id":"example-13","depth":3},{"value":"registerTOTP","id":"registertotp","depth":2},{"value":"Parameters","id":"parameters-13","depth":3},{"value":"Returns","id":"returns-12","depth":3},{"value":"Example","id":"example-14","depth":3},{"value":"generateTOTPCode","id":"generatetotpcode","depth":2},{"value":"Parameters","id":"parameters-14","depth":3},{"value":"Returns","id":"returns-13","depth":3},{"value":"Example","id":"example-15","depth":3},{"value":"generateTOTPCodeWithChallenge","id":"generatetotpcodewithchallenge","depth":2},{"value":"Parameters","id":"parameters-15","depth":3},{"value":"Returns","id":"returns-14","depth":3},{"value":"Example","id":"example-16","depth":3},{"value":"signWithDeviceKey","id":"signwithdevicekey","depth":2},{"value":"Parameters","id":"parameters-16","depth":3},{"value":"Returns","id":"returns-15","depth":3},{"value":"Example","id":"example-17","depth":3},{"value":"getDeviceInfo","id":"getdeviceinfo","depth":2},{"value":"Returns","id":"returns-16","depth":3},{"value":"Example","id":"example-18","depth":3},{"value":"setLoggingEnabled","id":"setloggingenabled","depth":2},{"value":"Parameters","id":"parameters-17","depth":3},{"value":"Returns","id":"returns-17","depth":3},{"value":"Example","id":"example-19","depth":3}],"frontmatter":{"title":"Functions","seo":{"title":"Functions"}},"lastModified":"2026-07-01T10:31:02.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdk-ref/flutter-ts-authentication/functions","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}