Scenario test fetching auth token

This commit is contained in:
simojenki
2021-02-26 12:33:20 +11:00
parent e3eec6e93e
commit 57cecad469
2 changed files with 2 additions and 6 deletions

View File

@@ -1,12 +1,8 @@
import { v4 as uuid } from 'uuid';
export type AuthToken = {
value: string,
version: string
}
export type Association = {
authToken: AuthToken
authToken: string
userId: string
nickname: string
}

View File

@@ -72,7 +72,7 @@ class SonosSoap {
return {
getDeviceAuthTokenResult: {
authToken: association.authToken.value,
privateKey: association.authToken.version,
privateKey: "",
userInfo: {
nickname: association.nickname,
userIdHashCode: crypto