mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Scenario test fetching auth token
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ class SonosSoap {
|
||||
return {
|
||||
getDeviceAuthTokenResult: {
|
||||
authToken: association.authToken.value,
|
||||
privateKey: association.authToken.version,
|
||||
privateKey: "",
|
||||
userInfo: {
|
||||
nickname: association.nickname,
|
||||
userIdHashCode: crypto
|
||||
|
||||
Reference in New Issue
Block a user