We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f88b82c commit 0b490cfCopy full SHA for 0b490cf
src/SignalR/clients/ts/signalr/src/AccessTokenHttpClient.ts
@@ -65,13 +65,6 @@ export class AccessTokenHttpClient extends HttpClient {
65
}
66
67
private async _refreshTokenAndRetry(request: HttpRequest, original: HttpResponse | Error): Promise<HttpResponse> {
68
- if (!this._accessTokenFactory) {
69
- if (original instanceof HttpResponse) {
70
- return original;
71
- }
72
- throw original;
73
74
-
75
const newToken = await this._accessTokenFactory();
76
if (!newToken) {
77
if (original instanceof HttpResponse) {
0 commit comments