Skip to content

Commit 6e617ac

Browse files
authored
Add null as posible token value for RefreshResult
At least one of the providers (Google) returns no new refresh token upon refresh. Instead, the previous one can be used again.
1 parent 2f3d7f6 commit 6e617ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface RefreshResult {
5757
accessTokenExpirationDate: string;
5858
additionalParameters?: { [name: string]: string };
5959
idToken: string;
60-
refreshToken: string;
60+
refreshToken: string | null;
6161
tokenType: string;
6262
}
6363

0 commit comments

Comments
 (0)