You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewAuthorizedServiceException($"Cannot request service '{serviceAlias}' as the access token has expired and no refresh token is available to use. The expired token has been deleted.");
153
153
}
154
154
155
-
Token?refreshedToken=awaitRefreshAccessToken(serviceAlias,token.RefreshToken)??thrownewAuthorizedServiceException($"Cannot request service '{serviceAlias}' as the access token has expired and the refresh token could not be used to obtain a new access token.");
156
-
157
-
returnrefreshedToken;
155
+
returnawaitRefreshAccessToken(serviceAlias,token.RefreshToken)??thrownewAuthorizedServiceException($"Cannot request service '{serviceAlias}' as the access token has expired and the refresh token could not be used to obtain a new access token.");
Token?refreshedToken=awaitRefreshAccessToken(serviceAlias,string.Empty)??thrownewAuthorizedServiceException($"Cannot request service '{serviceAlias}' as the access token has expired and the refresh token could not be used to obtain a new access token.");
returnawaitRefreshExchangeAccessToken(serviceAlias,token.AccessToken)??thrownewAuthorizedServiceException($"Cannot request service '{serviceAlias}' as the access token has expired and the refresh token could not be used to obtain a new access token.");
0 commit comments