Conversation
sangonzal
left a comment
There was a problem hiding this comment.
It might make sense to add a comment explaining that RefreshTokenParameters should only be used for migration purposes, and SilentParameters is the recommended way of refreshing tokens.
|
@sangonzal @SomkaPe : this is not just for migration purposes. It's both for migration and integration scenarios. I believe both Python and .NET have a reasonable description of this, it may be worth looking at the words used there. |
| * @param parameters#scopes scopes of the access request | ||
| * @return A {@link CompletableFuture} object representing the {@link IAuthenticationResult} of the call. | ||
| */ | ||
| CompletableFuture<IAuthenticationResult> acquireToken(RefreshTokenParameters parameters); |
There was a problem hiding this comment.
acquireTokenByRefreshToken + see comments in other libraries which also have aka.ms links to additional details.
See more:
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/9e0f57b53edfdcf027cbff401d3ca6c02e95ef1b/src/Microsoft.Identity.Client/IByRefreshToken.cs
There was a problem hiding this comment.
thanks, for pointing out , have copy pasted
No description provided.