feat: integrar credenciais rustdesk aos acessos remotos
This commit is contained in:
parent
4079f67fcb
commit
07d631de40
5 changed files with 243 additions and 5 deletions
|
|
@ -13,6 +13,8 @@ describe("normalizeDeviceRemoteAccess", () => {
|
|||
expect(result).toEqual({
|
||||
provider: null,
|
||||
identifier: "PC-001",
|
||||
username: null,
|
||||
password: null,
|
||||
url: null,
|
||||
notes: null,
|
||||
lastVerifiedAt: null,
|
||||
|
|
@ -25,6 +27,8 @@ describe("normalizeDeviceRemoteAccess", () => {
|
|||
expect(result).toEqual({
|
||||
provider: null,
|
||||
identifier: null,
|
||||
username: null,
|
||||
password: null,
|
||||
url: "https://remote.example.com/session/123",
|
||||
notes: null,
|
||||
lastVerifiedAt: null,
|
||||
|
|
@ -39,12 +43,16 @@ describe("normalizeDeviceRemoteAccess", () => {
|
|||
code: "123-456-789",
|
||||
remoteUrl: "https://anydesk.com/session/123",
|
||||
note: "Suporte avançado",
|
||||
user: "admin",
|
||||
secret: "S3nh@",
|
||||
verifiedAt: timestamp,
|
||||
extraTag: "vip",
|
||||
})
|
||||
expect(result).toEqual({
|
||||
provider: "AnyDesk",
|
||||
identifier: "123-456-789",
|
||||
username: "admin",
|
||||
password: "S3nh@",
|
||||
url: "https://anydesk.com/session/123",
|
||||
notes: "Suporte avançado",
|
||||
lastVerifiedAt: timestamp,
|
||||
|
|
@ -53,6 +61,8 @@ describe("normalizeDeviceRemoteAccess", () => {
|
|||
code: "123-456-789",
|
||||
remoteUrl: "https://anydesk.com/session/123",
|
||||
note: "Suporte avançado",
|
||||
user: "admin",
|
||||
secret: "S3nh@",
|
||||
verifiedAt: timestamp,
|
||||
extraTag: "vip",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue