[{"data":1,"prerenderedAt":1395},["ShallowReactive",2],{"api-nav":3,"\u002Fapi\u002Fdevices\u002Fattach-a-device":178},[4,8,12,16,57,86,103,116,158],{"title":5,"path":6,"stem":7},"Introduction","\u002Fapi\u002Fintroduction","2.api\u002F1.Introduction",{"title":9,"path":10,"stem":11},"Errors","\u002Fapi\u002Ferrors","2.api\u002F2.Errors",{"title":13,"path":14,"stem":15},"Pagination","\u002Fapi\u002Fpagination","2.api\u002F3.Pagination",{"title":17,"path":18,"stem":19,"children":20},"Challenges","\u002Fapi\u002Fchallenges","2.api\u002F4.Challenges",[21,25,29,33,37,41,45,49,53],{"title":22,"path":23,"stem":24},"The challenge object","\u002Fapi\u002Fchallenges\u002Fthe-challenge-object","2.api\u002F4.Challenges\u002F1.The challenge object",{"title":26,"path":27,"stem":28},"List all challenges","\u002Fapi\u002Fchallenges\u002Flist-all-challenges","2.api\u002F4.Challenges\u002F2.List all challenges",{"title":30,"path":31,"stem":32},"Retrieve a challenge","\u002Fapi\u002Fchallenges\u002Fretrieve-a-challenge","2.api\u002F4.Challenges\u002F3.Retrieve a challenge",{"title":34,"path":35,"stem":36},"Retrieve challenge devices","\u002Fapi\u002Fchallenges\u002Fretrieve-challenge-devices","2.api\u002F4.Challenges\u002F4.Retrieve challenge devices",{"title":38,"path":39,"stem":40},"Kick a challenge device","\u002Fapi\u002Fchallenges\u002Fkick-a-challenge-device","2.api\u002F4.Challenges\u002F5.Kick a challenge device",{"title":42,"path":43,"stem":44},"Send challenge code","\u002Fapi\u002Fchallenges\u002Fsend-challenge-code","2.api\u002F4.Challenges\u002F6.Send challenge code",{"title":46,"path":47,"stem":48},"Verify challenge code","\u002Fapi\u002Fchallenges\u002Fverify-challenge-code","2.api\u002F4.Challenges\u002F7.Verify challenge code",{"title":50,"path":51,"stem":52},"Complete challenge","\u002Fapi\u002Fchallenges\u002Fcomplete-challenge","2.api\u002F4.Challenges\u002F8.Complete challenge",{"title":54,"path":55,"stem":56},"Open a challenge","\u002Fapi\u002Fchallenges\u002Fopen-a-challenge","2.api\u002F4.Challenges\u002F9.Open a challenge",{"title":58,"path":59,"stem":60,"children":61},"Devices","\u002Fapi\u002Fdevices","2.api\u002F5.Devices",[62,66,70,74,78,82],{"title":63,"path":64,"stem":65},"The device object","\u002Fapi\u002Fdevices\u002Fthe-device-object","2.api\u002F5.Devices\u002F1.The device object",{"title":67,"path":68,"stem":69},"Attach a device","\u002Fapi\u002Fdevices\u002Fattach-a-device","2.api\u002F5.Devices\u002F2.Attach a device",{"title":71,"path":72,"stem":73},"Detach a device","\u002Fapi\u002Fdevices\u002Fdetach-a-device","2.api\u002F5.Devices\u002F3.Detach a device",{"title":75,"path":76,"stem":77},"Fingerprint a device","\u002Fapi\u002Fdevices\u002Ffingerprint-a-device","2.api\u002F5.Devices\u002F4.Fingerprint a device",{"title":79,"path":80,"stem":81},"Retrieve a device hash","\u002Fapi\u002Fdevices\u002Fretrieve-device-hash","2.api\u002F5.Devices\u002F5.Retrieve device hash",{"title":83,"path":84,"stem":85},"Update device metadata","\u002Fapi\u002Fdevices\u002Fupdate-device-metadata","2.api\u002F5.Devices\u002F6.Update device metadata",{"title":87,"path":88,"stem":89,"children":90},"Users","\u002Fapi\u002Fusers","2.api\u002F6.Users",[91,95,99],{"title":92,"path":93,"stem":94},"The user object","\u002Fapi\u002Fusers\u002Fthe-user-object","2.api\u002F6.Users\u002F1.The user object",{"title":96,"path":97,"stem":98},"Update a user","\u002Fapi\u002Fusers\u002Fupdate-a-user","2.api\u002F6.Users\u002F2.Update a user",{"title":100,"path":101,"stem":102},"Retrieve user devices","\u002Fapi\u002Fusers\u002Fretrieve-user-devices","2.api\u002F6.Users\u002F4.Retrieve user devices",{"title":104,"path":105,"stem":106,"children":107},"Evaluations","\u002Fapi\u002Fevaluations","2.api\u002F7.Evaluations",[108,112],{"title":109,"path":110,"stem":111},"The evaluation object","\u002Fapi\u002Fevaluations\u002Fthe-evaluation-object","2.api\u002F7.Evaluations\u002F1.The evaluation object",{"title":113,"path":114,"stem":115},"Evaluate an action","\u002Fapi\u002Fevaluations\u002Fevaluate-an-action","2.api\u002F7.Evaluations\u002F2.Evaluate an action",{"title":117,"path":118,"stem":119,"children":120,"page":157},"Webhooks","\u002Fapi\u002Fwebhooks","2.api\u002F98.Webhooks",[121,125,129,133,137,141,145,149,153],{"title":122,"path":123,"stem":124},"Challenge initiated","\u002Fapi\u002Fwebhooks\u002Fchallenge-initiated","2.api\u002F98.Webhooks\u002F1.Challenge initiated",{"title":126,"path":127,"stem":128},"Challenge viewed","\u002Fapi\u002Fwebhooks\u002Fchallenge-viewed","2.api\u002F98.Webhooks\u002F2.Challenge viewed",{"title":130,"path":131,"stem":132},"Challenge pending","\u002Fapi\u002Fwebhooks\u002Fchallenge-pending","2.api\u002F98.Webhooks\u002F3.Challenge pending",{"title":134,"path":135,"stem":136},"Challenge skipped","\u002Fapi\u002Fwebhooks\u002Fchallenge-skipped","2.api\u002F98.Webhooks\u002F4.Challenge skipped",{"title":138,"path":139,"stem":140},"Challenge completed","\u002Fapi\u002Fwebhooks\u002Fchallenge-completed","2.api\u002F98.Webhooks\u002F5.Challenge completed",{"title":142,"path":143,"stem":144},"Account sharing signal","\u002Fapi\u002Fwebhooks\u002Faccount-sharing-signal","2.api\u002F98.Webhooks\u002FAccount sharing signal",{"title":146,"path":147,"stem":148},"Admin notified of shared account","\u002Fapi\u002Fwebhooks\u002Fadmin-notify-shared-account","2.api\u002F98.Webhooks\u002FAdmin notify shared account",{"title":150,"path":151,"stem":152},"Device detached","\u002Fapi\u002Fwebhooks\u002Fdevice-detached","2.api\u002F98.Webhooks\u002FDevice detached",{"title":154,"path":155,"stem":156},"User converted","\u002Fapi\u002Fwebhooks\u002Fuser-converted","2.api\u002F98.Webhooks\u002FUser converted",false,{"title":159,"path":160,"stem":161,"children":162},"Legacy APIs","\u002Fapi\u002Flegacy-apis","2.api\u002F99.Legacy APIs",[163,167,171,175],{"title":164,"path":165,"stem":166},"Access history","\u002Fapi\u002Flegacy-apis\u002Faccess-history","2.api\u002F99.Legacy APIs\u002F1.Access history",{"title":168,"path":169,"stem":170},"List devices of a user","\u002Fapi\u002Flegacy-apis\u002Flist-devices-of-a-user","2.api\u002F99.Legacy APIs\u002F2.List devices of a user",{"title":172,"path":173,"stem":174},"Complete identification","\u002Fapi\u002Flegacy-apis\u002Fcomplete-identification","2.api\u002F99.Legacy APIs\u002F3.Complete identification",{"title":83,"path":176,"stem":177},"\u002Fapi\u002Flegacy-apis\u002Fupdate-device-metadata","2.api\u002F99.Legacy APIs\u002F4.Update device metadata",{"id":179,"title":67,"body":180,"description":663,"extension":1390,"meta":1391,"navigation":706,"path":68,"seo":1392,"sitemap":1393,"stem":69,"__hash__":1394},"api\u002F2.api\u002F5.Devices\u002F2.Attach a device.md",{"type":181,"value":182,"toc":1388},"minimark",[183,187,1384],[184,185,67],"h1",{"id":186},"attach-a-device",[188,189,194,195,194,649],"div",{"className":190},[191,192,193],"grid","grid-cols-2","gap-10","\n  ",[188,196,199,200,199,206,199,211,199,216,220,221,199,234,199,237,199,242,199,244,249,250,220,253,199,260,199,262,199,269,199,271,274,275,199,277,199,295,199,297,274,299,199,301,199,310,199,312,315,316,199,318,199,325,199,331,199,404,199,406,409,410,199,412,199,416,199,419,199,469,199,471,315,473,199,475,199,479,199,481,484,485,199,487,199,491,199,493,315,496,199,498,199,511,199,513,315,516,199,518,199,526,199,529,199,558,199,560,274,563,199,565,199,569,199,571,574,575,199,577,199,581,199,583,574,586,199,588,199,592,199,609,199,613,199,615,574,618,199,620,199,624,199,626,484,629,199,631,199,639,199,641,199,645,648],{"className":197},[198],"api-attributes","\n    ",[201,202,205],"p",{"className":203},[204],"mb-2","Attach a device to a user.",[207,208,210],"h4",{"id":209},"parameters","Parameters",[212,213],"hr",{"className":214},[215],"my-4",[217,218,219],"code",{},"client_id"," string ",[222,223,226],"sub",{"className":224},[225],"ml-1",[227,228,229],"sup",{},[230,231,233],"span",{"style":232},"color: orange","REQUIRED",[235,236],"br",{},[201,238,241],{"className":239},[240],"my-2","The client ID of your project's API key.",[212,243],{},[217,245,248],{"className":246},[247],"line-through","user"," \u002F ",[217,251,252],{},"account",[222,254,256],{"className":255},[225],[227,257,258],{},[230,259,233],{"style":232},[235,261],{},[201,263,265,266,268],{"className":264},[240],"The ID of the user you want the device to be linked to. ",[217,267,248],{}," is deprecated.",[212,270],{},[217,272,273],{},"phone"," string\n    ",[235,276],{},[201,278,280,281,283,284,287,288,294],{"className":279},[240],"The phone number of the user you want the device to be linked to. To send a challenge to the user, you must provide either the ",[217,282,273],{}," or ",[217,285,286],{},"email"," parameter. The phone number must be in ",[289,290,293],"a",{"href":291,"target":292},"https:\u002F\u002Fhelp.twilio.com\u002Farticles\u002F223183008-Formatting-International-Phone-Numbers","_blank","E.164 format",".",[212,296],{},[217,298,286],{},[235,300],{},[201,302,304,305,283,307,309],{"className":303},[240],"The email of the user you want the device to be linked to. To send a challenge to the user, you must provide either the ",[217,306,273],{},[217,308,286],{}," parameter.",[212,311],{},[217,313,314],{},"redirect_urls"," object\n    ",[235,317],{},[201,319,321,322,294],{"className":320},[240],"The URLs to redirect the user to after certain events in the challenge. For more information, please see the ",[289,323,324],{"href":18},"challenges documentation",[188,326,330],{"className":327},[328,329],"table-cap","no-bg","Child parameters",[188,332,336,337,346,347,336,349,336,352,336,354,346,360,336,362,336,365,336,367,346,373,336,375,336,378,336,380,346,386,336,388,336,391,336,393,346,399,336,401,199],{"className":333},[334,335,329],"table-wrap","enum","\n      ",[217,338,339,345],{},[230,340,344],{"className":341},[342,343],"text-gray-500\u002F50","dark:text-white\u002F50","redirect_urls.","logout_url"," string\n      ",[235,348],{},[201,350,351],{},"The redirect url used when a device is detached.",[212,353],{},[217,355,356,359],{},[230,357,344],{"className":358},[342,343],"new_account_url",[235,361],{},[201,363,364],{},"The redirect url used when a new account cta is pressed.",[212,366],{},[217,368,369,372],{},[230,370,344],{"className":371},[342,343],"success_url",[235,374],{},[201,376,377],{},"The redirect url used when the challenge is completed.",[212,379],{},[217,381,382,385],{},[230,383,344],{"className":384},[342,343],"suspended_url",[235,387],{},[201,389,390],{},"The redirect url used when the suspension is determinded for an attached device",[212,392],{},[217,394,395,398],{},[230,396,344],{"className":397},[342,343],"upgrade_url",[235,400],{},[201,402,403],{},"The redirect url used when a updgrade account cta is pressed",[235,405],{},[217,407,408],{},"groups"," object \u002F array of objects\n    ",[235,411],{},[201,413,415],{"className":414},[240],"The group or groups that the user belongs to. This can be a group object or an array of group objects.",[188,417,330],{"className":418},[328,329],[188,420,336,422,220,429,336,436,336,438,336,441,336,443,346,449,336,451,336,454,336,456,462,463,336,465,199],{"className":421},[334,335,329],[217,423,424,428],{},[230,425,427],{"className":426},[342,343],"group.","id",[222,430,432],{"className":431},[225],[227,433,434],{},[230,435,233],{"style":232},[235,437],{},[201,439,440],{},"The id of the group in your system.",[212,442],{},[217,444,445,448],{},[230,446,427],{"className":447},[342,343],"name",[235,450],{},[201,452,453],{},"The name of the group or organization.",[212,455],{},[217,457,458,461],{},[230,459,427],{"className":460},[342,343],"metadata"," object\n      ",[235,464],{},[201,466,468],{"className":467},[240],"The custom metadata to be appended to any pre-existing group metadata.",[235,470],{},[217,472,461],{},[235,474],{},[201,476,478],{"className":477},[240],"The custom metadata to be appended to any pre-existing device metadata.",[212,480],{},[217,482,483],{},"include_page"," boolean\n    ",[235,486],{},[201,488,490],{"className":489},[240],"A boolean that, if set to true, will automatically get the page (URL on the web) and send it with the access data. This will then be shown with each access on the dashboard.",[212,492],{},[217,494,495],{},"signals",[235,497],{},[201,499,501,502,505,506,510],{"className":500},[240],"A set of browser signals that will be used to identify the device. Use the ",[217,503,504],{},"getSignals"," method from the Rupt SDK. Refer to the ",[289,507,509],{"href":508,"target":292},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Frupt#get-signals","Rupt SDK"," for more information.",[212,512],{},[217,514,515],{},"limit_config",[235,517],{},[201,519,521,522,525],{"className":520},[240],"An object that allows you to override the settings of the project default limits. This can be useful if you want to set the limit for each individual user depending on his or her plan. It supports multiple properties, but the only one that is currently active is: ",[217,523,524],{},"limit_config.overall_limit"," which controls the overall device limit and does not differentiate between mobile and desktop. Leave this undefined if you want to rely on the dashboard configuration.",[188,527,330],{"className":528},[328,329],[188,530,336,532,539,540,336,542,336,545,336,547,539,553,336,555,199],{"className":531},[334,335,329],[217,533,534,538],{},[230,535,537],{"className":536},[342,343],"limit_config.","overall_device_limit"," number\n      ",[235,541],{},[201,543,544],{},"The overall device limit for the user.",[212,546],{},[217,548,549,552],{},[230,550,537],{"className":551},[342,343],"people_limit",[235,554],{},[201,556,557],{},"The limit of people that can be attached to the user.",[235,559],{},[217,561,562],{},"event",[235,564],{},[201,566,568],{"className":567},[240],"A string that can be used to pass an event key.",[212,570],{},[217,572,573],{},"on_challenge"," function\n    ",[235,576],{},[201,578,580],{"className":579},[240],"A callback that is triggered when Rupt determines that a particular device session should be challenged. If this callback returns false, the challenge will not be shown. This callback is only available on the Javascript SDK.",[212,582],{},[217,584,585],{},"on_current_device_logout",[235,587],{},[201,589,591],{"className":590},[240],"A function that's called whenever the current device needs to be detached. This can happen in one of two scenarios:",[593,594,336,598,336,602,199],"ul",{"className":595},[596,597],"list-disc","ml-5",[599,600,601],"li",{},"The user was shown the dialog and select to log out of this device. Keep in mind, the user could be asking to log out this device from another device where the dialog is presented. Or they can select to log out of the same device. In both cases, the function is called.",[599,603,604,605,608],{},"You manually call ",[217,606,607],{},"detach"," and passed the device ID of a specific device. If the device with that ID implements this callback and it's online, it will be immediately called.",[201,610,612],{"className":611},[240],"It is strongly recommended that you implement this callback. Inside this callback, you should immediately log the user out of your application.",[212,614],{},[217,616,617],{},"on_limit_exceeded",[235,619],{},[201,621,623],{"className":622},[240],"A function that's called when the user exceeds the specified device limit.",[212,625],{},[217,627,628],{},"debug",[235,630],{},[201,632,634,635,638],{"className":633},[240],"A boolean indicating whether to run in debug mode or not. If debug is ",[217,636,637],{},"true",", any errors will be printed to the console as well as warnings and recommendations.",[235,640],{},[207,642,644],{"id":643},"returns","Returns",[212,646],{"className":647},[215],"\n    Returns device and user access state information.\n  ",[188,650,199,651,1231,1236,194],{},[188,652,655],{"className":653},[654],"code-main",[656,657,660,876,1114,1201],"code-tabs",{"type":658,"url":659},"POST","\u002Fv2\u002Fdevice\u002Fattach",[661,662,664],"template",{"v-slot:Browser SDK":663},"",[665,666,670],"pre",{"className":667,"code":668,"language":669,"meta":663,"style":663},"language-js shiki shiki-themes one-dark-pro monokai","import { attach } from 'rupt';\n\nconst { device_id } = await attach({\n  client_id: \"CLIENT_ID\",\n  account: \"account_id\",\n  phone: \"+15551234567\",\n  email: \"user@example.com\",\n  metadata: { key: \"value\" },\n  groups: [{ \n    id: \"group_id\", \n    name: \"group_name\", \n    metadata: { key: \"value\" } \n  }],\n})\n","js",[217,671,672,701,708,737,752,765,778,791,811,820,834,847,864,870],{"__ignoreMap":663},[230,673,676,680,684,688,691,694,698],{"class":674,"line":675},"line",1,[230,677,679],{"class":678},"sqnWQ","import",[230,681,683],{"class":682},"sFXR2"," { ",[230,685,687],{"class":686},"sskXI","attach",[230,689,690],{"class":682}," } ",[230,692,693],{"class":678},"from",[230,695,697],{"class":696},"sgpKs"," 'rupt'",[230,699,700],{"class":682},";\n",[230,702,704],{"class":674,"line":703},2,[230,705,707],{"emptyLinePlaceholder":706},true,"\n",[230,709,711,715,717,721,723,727,730,734],{"class":674,"line":710},3,[230,712,714],{"class":713},"sfrnW","const",[230,716,683],{"class":682},[230,718,720],{"class":719},"syDQ0","device_id",[230,722,690],{"class":682},[230,724,726],{"class":725},"sBBc0","=",[230,728,729],{"class":678}," await",[230,731,733],{"class":732},"sUpKv"," attach",[230,735,736],{"class":682},"({\n",[230,738,740,743,746,749],{"class":674,"line":739},4,[230,741,742],{"class":686},"  client_id",[230,744,745],{"class":682},": ",[230,747,748],{"class":696},"\"CLIENT_ID\"",[230,750,751],{"class":682},",\n",[230,753,755,758,760,763],{"class":674,"line":754},5,[230,756,757],{"class":686},"  account",[230,759,745],{"class":682},[230,761,762],{"class":696},"\"account_id\"",[230,764,751],{"class":682},[230,766,768,771,773,776],{"class":674,"line":767},6,[230,769,770],{"class":686},"  phone",[230,772,745],{"class":682},[230,774,775],{"class":696},"\"+15551234567\"",[230,777,751],{"class":682},[230,779,781,784,786,789],{"class":674,"line":780},7,[230,782,783],{"class":686},"  email",[230,785,745],{"class":682},[230,787,788],{"class":696},"\"user@example.com\"",[230,790,751],{"class":682},[230,792,794,797,800,803,805,808],{"class":674,"line":793},8,[230,795,796],{"class":686},"  metadata",[230,798,799],{"class":682},": { ",[230,801,802],{"class":686},"key",[230,804,745],{"class":682},[230,806,807],{"class":696},"\"value\"",[230,809,810],{"class":682}," },\n",[230,812,814,817],{"class":674,"line":813},9,[230,815,816],{"class":686},"  groups",[230,818,819],{"class":682},": [{ \n",[230,821,823,826,828,831],{"class":674,"line":822},10,[230,824,825],{"class":686},"    id",[230,827,745],{"class":682},[230,829,830],{"class":696},"\"group_id\"",[230,832,833],{"class":682},", \n",[230,835,837,840,842,845],{"class":674,"line":836},11,[230,838,839],{"class":686},"    name",[230,841,745],{"class":682},[230,843,844],{"class":696},"\"group_name\"",[230,846,833],{"class":682},[230,848,850,853,855,857,859,861],{"class":674,"line":849},12,[230,851,852],{"class":686},"    metadata",[230,854,799],{"class":682},[230,856,802],{"class":686},[230,858,745],{"class":682},[230,860,807],{"class":696},[230,862,863],{"class":682}," } \n",[230,865,867],{"class":674,"line":866},13,[230,868,869],{"class":682},"  }],\n",[230,871,873],{"class":674,"line":872},14,[230,874,875],{"class":682},"})\n",[661,877,878],{"v-slot:JavaScript":663},[665,879,881],{"className":667,"code":880,"language":669,"meta":663,"style":663},"import { getSignals } from 'rupt';\nimport axios from 'axios';\n\nconst { device_id } = await axios.post(\n  'https:\u002F\u002Fapi.rupt.dev\u002Fv2\u002Fdevice\u002Fattach',\n  {\n    account: \"account_id\",\n    phone: \"+15551234567\",\n    email: \"user@example.com\",\n    metadata: { key: \"value\" },\n    signals: await getSignals(),\n    groups: [{ \n      id: \"group_id\", \n      name: \"group_name\", \n      metadata: { key: \"value\" } \n    }]\n  },\n  { headers: { Authorization: `Basic ${CLIENT_ID}` } }\n);\n",[217,882,883,899,914,918,942,949,954,965,976,987,1001,1017,1024,1035,1046,1062,1068,1074,1108],{"__ignoreMap":663},[230,884,885,887,889,891,893,895,897],{"class":674,"line":675},[230,886,679],{"class":678},[230,888,683],{"class":682},[230,890,504],{"class":686},[230,892,690],{"class":682},[230,894,693],{"class":678},[230,896,697],{"class":696},[230,898,700],{"class":682},[230,900,901,903,906,909,912],{"class":674,"line":703},[230,902,679],{"class":678},[230,904,905],{"class":686}," axios",[230,907,908],{"class":678}," from",[230,910,911],{"class":696}," 'axios'",[230,913,700],{"class":682},[230,915,916],{"class":674,"line":710},[230,917,707],{"emptyLinePlaceholder":706},[230,919,920,922,924,926,928,930,932,934,936,939],{"class":674,"line":739},[230,921,714],{"class":713},[230,923,683],{"class":682},[230,925,720],{"class":719},[230,927,690],{"class":682},[230,929,726],{"class":725},[230,931,729],{"class":678},[230,933,905],{"class":719},[230,935,294],{"class":682},[230,937,938],{"class":732},"post",[230,940,941],{"class":682},"(\n",[230,943,944,947],{"class":674,"line":754},[230,945,946],{"class":696},"  'https:\u002F\u002Fapi.rupt.dev\u002Fv2\u002Fdevice\u002Fattach'",[230,948,751],{"class":682},[230,950,951],{"class":674,"line":767},[230,952,953],{"class":682},"  {\n",[230,955,956,959,961,963],{"class":674,"line":780},[230,957,958],{"class":686},"    account",[230,960,745],{"class":682},[230,962,762],{"class":696},[230,964,751],{"class":682},[230,966,967,970,972,974],{"class":674,"line":793},[230,968,969],{"class":686},"    phone",[230,971,745],{"class":682},[230,973,775],{"class":696},[230,975,751],{"class":682},[230,977,978,981,983,985],{"class":674,"line":813},[230,979,980],{"class":686},"    email",[230,982,745],{"class":682},[230,984,788],{"class":696},[230,986,751],{"class":682},[230,988,989,991,993,995,997,999],{"class":674,"line":822},[230,990,852],{"class":686},[230,992,799],{"class":682},[230,994,802],{"class":686},[230,996,745],{"class":682},[230,998,807],{"class":696},[230,1000,810],{"class":682},[230,1002,1003,1006,1008,1011,1014],{"class":674,"line":836},[230,1004,1005],{"class":686},"    signals",[230,1007,745],{"class":682},[230,1009,1010],{"class":678},"await",[230,1012,1013],{"class":732}," getSignals",[230,1015,1016],{"class":682},"(),\n",[230,1018,1019,1022],{"class":674,"line":849},[230,1020,1021],{"class":686},"    groups",[230,1023,819],{"class":682},[230,1025,1026,1029,1031,1033],{"class":674,"line":866},[230,1027,1028],{"class":686},"      id",[230,1030,745],{"class":682},[230,1032,830],{"class":696},[230,1034,833],{"class":682},[230,1036,1037,1040,1042,1044],{"class":674,"line":872},[230,1038,1039],{"class":686},"      name",[230,1041,745],{"class":682},[230,1043,844],{"class":696},[230,1045,833],{"class":682},[230,1047,1049,1052,1054,1056,1058,1060],{"class":674,"line":1048},15,[230,1050,1051],{"class":686},"      metadata",[230,1053,799],{"class":682},[230,1055,802],{"class":686},[230,1057,745],{"class":682},[230,1059,807],{"class":696},[230,1061,863],{"class":682},[230,1063,1065],{"class":674,"line":1064},16,[230,1066,1067],{"class":682},"    }]\n",[230,1069,1071],{"class":674,"line":1070},17,[230,1072,1073],{"class":682},"  },\n",[230,1075,1077,1080,1083,1085,1088,1090,1093,1096,1099,1102,1105],{"class":674,"line":1076},18,[230,1078,1079],{"class":682},"  { ",[230,1081,1082],{"class":686},"headers",[230,1084,799],{"class":682},[230,1086,1087],{"class":686},"Authorization",[230,1089,745],{"class":682},[230,1091,1092],{"class":696},"`Basic ",[230,1094,1095],{"class":678},"${",[230,1097,1098],{"class":719},"CLIENT_ID",[230,1100,1101],{"class":678},"}",[230,1103,1104],{"class":696},"`",[230,1106,1107],{"class":682}," } }\n",[230,1109,1111],{"class":674,"line":1110},19,[230,1112,1113],{"class":682},");\n",[661,1115,1116],{"v-slot:iOS SDK":663},[665,1117,1121],{"className":1118,"code":1119,"language":1120,"meta":663,"style":663},"language-swift shiki shiki-themes one-dark-pro monokai","Rupt.shared.setUserID(id)\nRupt.shared.attach(metadata: [\"key\": \"value\"])\nRupt.shared.onLogoutCurrentDevice = { usage in\n  ...\n}\n","swift",[217,1122,1123,1140,1170,1191,1196],{"__ignoreMap":663},[230,1124,1125,1128,1131,1133,1137],{"class":674,"line":675},[230,1126,1127],{"class":682},"Rupt.",[230,1129,1130],{"class":686},"shared",[230,1132,294],{"class":682},[230,1134,1136],{"class":1135},"s54Uj","setUserID",[230,1138,1139],{"class":682},"(id)\n",[230,1141,1142,1144,1146,1148,1150,1153,1155,1158,1161,1164,1167],{"class":674,"line":703},[230,1143,1127],{"class":682},[230,1145,1130],{"class":686},[230,1147,294],{"class":682},[230,1149,687],{"class":1135},[230,1151,1152],{"class":682},"(",[230,1154,461],{"class":1135},[230,1156,1157],{"class":682},": [",[230,1159,1160],{"class":696},"\"key\"",[230,1162,1163],{"class":678},":",[230,1165,1166],{"class":696}," \"value\"",[230,1168,1169],{"class":682},"])\n",[230,1171,1172,1174,1176,1178,1181,1185,1188],{"class":674,"line":710},[230,1173,1127],{"class":682},[230,1175,1130],{"class":686},[230,1177,294],{"class":682},[230,1179,1180],{"class":686},"onLogoutCurrentDevice",[230,1182,1184],{"class":1183},"suS8p"," =",[230,1186,1187],{"class":682}," { usage ",[230,1189,1190],{"class":678},"in\n",[230,1192,1193],{"class":674,"line":739},[230,1194,1195],{"class":1183},"  ...\n",[230,1197,1198],{"class":674,"line":754},[230,1199,1200],{"class":682},"}\n",[661,1202,1203],{"v-slot:Android SDK":663},[665,1204,1208],{"className":1205,"code":1206,"language":1207,"meta":663,"style":663},"language-kotlin shiki shiki-themes one-dark-pro monokai","Rupt.attach(supportFragmentManager) {\n  ...\n}\n","kotlin",[217,1209,1210,1219,1227],{"__ignoreMap":663},[230,1211,1212,1214,1216],{"class":674,"line":675},[230,1213,1127],{"class":682},[230,1215,687],{"class":732},[230,1217,1218],{"class":682},"(supportFragmentManager) {\n",[230,1220,1221,1224],{"class":674,"line":703},[230,1222,1223],{"class":1183},"  ..",[230,1225,1226],{"class":682},".\n",[230,1228,1229],{"class":674,"line":710},[230,1230,1200],{"class":682},[188,1232,1235],{"className":1233},[1234],"code-cap","Response",[188,1237,1240],{"className":1238},[1239],"code-light",[665,1241,1245],{"className":1242,"code":1243,"language":1244,"meta":663,"style":663},"language-json shiki shiki-themes one-dark-pro monokai","{ \n  \"success\": true,\n  \"attached_devices\": 3,\n  \"device_id\": \"6323dadac7c49192e9154563\",\n  \"default_device_limit\": 2,\n  \"block_over_usage\": false,\n  \"suspended\": false,\n  \"new_device\": false,\n  \"access\": \"6323dadac7c49192e9763547\",\n  \"metadata\": {\n    \"key\": \"value\"\n  },\n  \"verification_status\": \"verified\"\n}\n","json",[217,1246,1247,1252,1265,1277,1290,1302,1314,1325,1336,1348,1356,1366,1370,1380],{"__ignoreMap":663},[230,1248,1249],{"class":674,"line":675},[230,1250,1251],{"class":682},"{ \n",[230,1253,1254,1258,1260,1263],{"class":674,"line":703},[230,1255,1257],{"class":1256},"s9wyi","  \"success\"",[230,1259,745],{"class":682},[230,1261,637],{"class":1262},"sRaZW",[230,1264,751],{"class":682},[230,1266,1267,1270,1272,1275],{"class":674,"line":710},[230,1268,1269],{"class":1256},"  \"attached_devices\"",[230,1271,745],{"class":682},[230,1273,1274],{"class":1262},"3",[230,1276,751],{"class":682},[230,1278,1279,1282,1284,1288],{"class":674,"line":739},[230,1280,1281],{"class":1256},"  \"device_id\"",[230,1283,745],{"class":682},[230,1285,1287],{"class":1286},"sKGTp","\"6323dadac7c49192e9154563\"",[230,1289,751],{"class":682},[230,1291,1292,1295,1297,1300],{"class":674,"line":754},[230,1293,1294],{"class":1256},"  \"default_device_limit\"",[230,1296,745],{"class":682},[230,1298,1299],{"class":1262},"2",[230,1301,751],{"class":682},[230,1303,1304,1307,1309,1312],{"class":674,"line":767},[230,1305,1306],{"class":1256},"  \"block_over_usage\"",[230,1308,745],{"class":682},[230,1310,1311],{"class":1262},"false",[230,1313,751],{"class":682},[230,1315,1316,1319,1321,1323],{"class":674,"line":780},[230,1317,1318],{"class":1256},"  \"suspended\"",[230,1320,745],{"class":682},[230,1322,1311],{"class":1262},[230,1324,751],{"class":682},[230,1326,1327,1330,1332,1334],{"class":674,"line":793},[230,1328,1329],{"class":1256},"  \"new_device\"",[230,1331,745],{"class":682},[230,1333,1311],{"class":1262},[230,1335,751],{"class":682},[230,1337,1338,1341,1343,1346],{"class":674,"line":813},[230,1339,1340],{"class":1256},"  \"access\"",[230,1342,745],{"class":682},[230,1344,1345],{"class":1286},"\"6323dadac7c49192e9763547\"",[230,1347,751],{"class":682},[230,1349,1350,1353],{"class":674,"line":822},[230,1351,1352],{"class":1256},"  \"metadata\"",[230,1354,1355],{"class":682},": {\n",[230,1357,1358,1361,1363],{"class":674,"line":836},[230,1359,1360],{"class":1256},"    \"key\"",[230,1362,745],{"class":682},[230,1364,1365],{"class":1286},"\"value\"\n",[230,1367,1368],{"class":674,"line":849},[230,1369,1073],{"class":682},[230,1371,1372,1375,1377],{"class":674,"line":866},[230,1373,1374],{"class":1256},"  \"verification_status\"",[230,1376,745],{"class":682},[230,1378,1379],{"class":1286},"\"verified\"\n",[230,1381,1382],{"class":674,"line":872},[230,1383,1200],{"class":682},[1385,1386,1387],"style",{},"html pre.shiki code .sqnWQ, html code.shiki .sqnWQ{--shiki-default:#C678DD;--shiki-dark:#F92672}html pre.shiki code .sFXR2, html code.shiki .sFXR2{--shiki-default:#ABB2BF;--shiki-dark:#F8F8F2}html pre.shiki code .sskXI, html code.shiki .sskXI{--shiki-default:#E06C75;--shiki-dark:#F8F8F2}html pre.shiki code .sgpKs, html code.shiki .sgpKs{--shiki-default:#98C379;--shiki-dark:#E6DB74}html pre.shiki code .sfrnW, html code.shiki .sfrnW{--shiki-default:#C678DD;--shiki-default-font-style:inherit;--shiki-dark:#66D9EF;--shiki-dark-font-style:italic}html pre.shiki code .syDQ0, html code.shiki .syDQ0{--shiki-default:#E5C07B;--shiki-dark:#F8F8F2}html pre.shiki code .sBBc0, html code.shiki .sBBc0{--shiki-default:#56B6C2;--shiki-dark:#F92672}html pre.shiki code .sUpKv, html code.shiki .sUpKv{--shiki-default:#61AFEF;--shiki-dark:#A6E22E}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s54Uj, html code.shiki .s54Uj{--shiki-default:#61AFEF;--shiki-dark:#66D9EF}html pre.shiki code .suS8p, html code.shiki .suS8p{--shiki-default:#ABB2BF;--shiki-dark:#F92672}html pre.shiki code .s9wyi, html code.shiki .s9wyi{--shiki-default:#E06C75;--shiki-default-font-style:inherit;--shiki-dark:#66D9EF;--shiki-dark-font-style:italic}html pre.shiki code .sRaZW, html code.shiki .sRaZW{--shiki-default:#D19A66;--shiki-dark:#AE81FF}html pre.shiki code .sKGTp, html code.shiki .sKGTp{--shiki-default:#98C379;--shiki-dark:#CFCFC2}",{"title":663,"searchDepth":703,"depth":703,"links":1389},[],"md",{},{"title":67,"description":663},{"loc":68},"wYPVj3nUXEQ2MZQ46zwI1e_JbhvYy0gkJRWUPe0ug-Q",1776716924022]