The TokenResponse interface

From Solution Explorer, right-click on the /ClientApp/app/services/ folder and add a token.response.ts TypeScript file with the following content:

interface TokenResponse {    token: string,    expiration: number}

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.