|
|
|
@ -355,6 +355,7 @@ public final class ServerOAuth2AuthorizedClientExchangeFilterFunction implements |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Sets the {@link ReactiveOAuth2AccessTokenResponseClient} used for getting an |
|
|
|
* Sets the {@link ReactiveOAuth2AccessTokenResponseClient} used for getting an |
|
|
|
* {@link OAuth2AuthorizedClient} for the client_credentials grant. |
|
|
|
* {@link OAuth2AuthorizedClient} for the client_credentials grant. |
|
|
|
|
|
|
|
* @param clientCredentialsTokenResponseClient the client to use |
|
|
|
* @deprecated Use |
|
|
|
* @deprecated Use |
|
|
|
* {@link #ServerOAuth2AuthorizedClientExchangeFilterFunction(ReactiveOAuth2AuthorizedClientManager)} |
|
|
|
* {@link #ServerOAuth2AuthorizedClientExchangeFilterFunction(ReactiveOAuth2AuthorizedClientManager)} |
|
|
|
* instead. Create an instance of |
|
|
|
* instead. Create an instance of |
|
|
|
@ -364,7 +365,6 @@ public final class ServerOAuth2AuthorizedClientExchangeFilterFunction implements |
|
|
|
* supply it to |
|
|
|
* supply it to |
|
|
|
* {@link DefaultReactiveOAuth2AuthorizedClientManager#setAuthorizedClientProvider(ReactiveOAuth2AuthorizedClientProvider) |
|
|
|
* {@link DefaultReactiveOAuth2AuthorizedClientManager#setAuthorizedClientProvider(ReactiveOAuth2AuthorizedClientProvider) |
|
|
|
* DefaultReactiveOAuth2AuthorizedClientManager}. |
|
|
|
* DefaultReactiveOAuth2AuthorizedClientManager}. |
|
|
|
* @param clientCredentialsTokenResponseClient the client to use |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Deprecated |
|
|
|
@Deprecated |
|
|
|
public void setClientCredentialsTokenResponseClient( |
|
|
|
public void setClientCredentialsTokenResponseClient( |
|
|
|
@ -407,13 +407,13 @@ public final class ServerOAuth2AuthorizedClientExchangeFilterFunction implements |
|
|
|
/** |
|
|
|
/** |
|
|
|
* An access token will be considered expired by comparing its expiration to now + |
|
|
|
* An access token will be considered expired by comparing its expiration to now + |
|
|
|
* this skewed Duration. The default is 1 minute. |
|
|
|
* this skewed Duration. The default is 1 minute. |
|
|
|
|
|
|
|
* @param accessTokenExpiresSkew the Duration to use. |
|
|
|
* @deprecated The {@code accessTokenExpiresSkew} should be configured with the |
|
|
|
* @deprecated The {@code accessTokenExpiresSkew} should be configured with the |
|
|
|
* specific {@link ReactiveOAuth2AuthorizedClientProvider} implementation, e.g. |
|
|
|
* specific {@link ReactiveOAuth2AuthorizedClientProvider} implementation, e.g. |
|
|
|
* {@link ClientCredentialsReactiveOAuth2AuthorizedClientProvider#setClockSkew(Duration) |
|
|
|
* {@link ClientCredentialsReactiveOAuth2AuthorizedClientProvider#setClockSkew(Duration) |
|
|
|
* ClientCredentialsReactiveOAuth2AuthorizedClientProvider} or |
|
|
|
* ClientCredentialsReactiveOAuth2AuthorizedClientProvider} or |
|
|
|
* {@link RefreshTokenReactiveOAuth2AuthorizedClientProvider#setClockSkew(Duration) |
|
|
|
* {@link RefreshTokenReactiveOAuth2AuthorizedClientProvider#setClockSkew(Duration) |
|
|
|
* RefreshTokenReactiveOAuth2AuthorizedClientProvider}. |
|
|
|
* RefreshTokenReactiveOAuth2AuthorizedClientProvider}. |
|
|
|
* @param accessTokenExpiresSkew the Duration to use. |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Deprecated |
|
|
|
@Deprecated |
|
|
|
public void setAccessTokenExpiresSkew(Duration accessTokenExpiresSkew) { |
|
|
|
public void setAccessTokenExpiresSkew(Duration accessTokenExpiresSkew) { |
|
|
|
|