homebridge-homeconnect
Version:
A Homebridge plugin that connects Home Connect appliances to Apple HomeKit
32 lines • 625 B
TypeScript
export interface RefreshToken {
'x-reg': string;
'x-env': string;
token: string;
clty: string;
}
export interface SimulatorToken {
'x-reg': 'SIM';
'x-env': string;
token: string;
}
export interface AccessTokenHeader {
'x-reg': string;
'x-env': string;
alg: string;
kid: string;
typ?: string;
}
export interface AccessTokenPayload {
sub: string;
jti: string;
aud: string;
azp: string;
scope: string[];
iss: string;
iat: number;
exp: number;
clty?: string;
fgrp?: unknown[];
prm?: unknown[];
}
//# sourceMappingURL=token-types.d.ts.map