public class RefreshTokenParameters extends Object
AbstractClientApplicationBase.acquireToken(RefreshTokenParameters) or to
AbstractClientApplicationBase.acquireToken(RefreshTokenParameters)
RefreshTokenParameters should only be used for migration scenarios (when moving from ADAL to
MSAL). To acquire tokens silently, use AbstractClientApplicationBase.acquireTokenSilently(SilentParameters)| Modifier and Type | Class and Description |
|---|---|
static class |
RefreshTokenParameters.RefreshTokenParametersBuilder |
| Modifier and Type | Method and Description |
|---|---|
static RefreshTokenParameters.RefreshTokenParametersBuilder |
builder(Set<String> scopes,
String refreshToken)
Builder for
RefreshTokenParameters |
ClaimsRequest |
claims()
Claims to be requested through the OIDC claims request parameter, allowing requests for standard and custom claims
|
@NonNull String |
refreshToken()
Refresh token received from the STS
|
@NonNull Set<String> |
scopes()
Scopes the application is requesting access to
|
public static RefreshTokenParameters.RefreshTokenParametersBuilder builder(Set<String> scopes, String refreshToken)
RefreshTokenParametersscopes - scopes application is requesting access torefreshToken - refresh token received form the STSRefreshTokenParameterspublic ClaimsRequest claims()
@NonNull public @NonNull String refreshToken()
Copyright © 2013–2021. All rights reserved.