2023-12-29 17:55:28 +01:00
|
|
|
import{a1 as n}from"./app-7741c0f3.js";/*! 2FAuth version 5.0.2 - Copyright (c) 2023 Bubka - https://github.com/Bubka/2FAuth */const a=n("api"),r=n("web"),o={updatePreference(e,t,s={}){return a.put("/user/preferences/"+e,{value:t},{...s})},getWebauthnDevices(e={}){return r.get("/webauthn/credentials",{...e})},revokeWebauthnDevice(e,t={}){return r.delete("/webauthn/credentials/"+e,{...t})},getPersonalAccessTokens(e={}){return r.get("/oauth/personal-access-tokens",{...e})},deletePersonalAccessToken(e,t={}){return r.delete("/oauth/personal-access-tokens/"+e,{...t})}};export{o as u};
|