Skip to main content

Interface: TokenResponse

Defined in: src/auth/oauth.ts:39

LinkedIn's token answer. A refresh token comes only to apps LinkedIn enabled it for.

Properties​

access_token​

access_token: string

Defined in: src/auth/oauth.ts:40


expires_in​

expires_in: number

Defined in: src/auth/oauth.ts:42

Seconds; 5184000 (60 days) for a member token.


id_token?​

optional id_token?: string

Defined in: src/auth/oauth.ts:46


refresh_token?​

optional refresh_token?: string

Defined in: src/auth/oauth.ts:44


refresh_token_expires_in?​

optional refresh_token_expires_in?: number

Defined in: src/auth/oauth.ts:45


scope?​

optional scope?: string

Defined in: src/auth/oauth.ts:43