Interface: ChzzkTokenSet
Defined in: src/auth/types.ts:6
발급된 토큰 묶음. expiresIn은 문서상 String("86400")이지만 SDK는 number(초)로 정규화한다. (docs/api-notes.md #2 참조)
Properties
accessToken
ts
accessToken: string;Defined in: src/auth/types.ts:7
expiresIn
ts
expiresIn: number;Defined in: src/auth/types.ts:12
액세스 토큰 유효기간(초)
obtainedAt
ts
obtainedAt: number;Defined in: src/auth/types.ts:16
SDK가 토큰을 받은 시각(epoch ms). 만료 계산에 사용.
refreshToken
ts
refreshToken: string;Defined in: src/auth/types.ts:8
scope?
ts
optional scope?: string;Defined in: src/auth/types.ts:14
갱신 응답에만 문서화되어 있어 optional (docs/api-notes.md #3)
tokenType
ts
tokenType: string;Defined in: src/auth/types.ts:10
"Bearer" 고정