Provide configuration for refresh token generator in `OAuth2RefreshTokenAuthenticationProvider` and `OAuth2AuthorizationCodeAuthenticationProvider`.