public static Consumer<Map<String, Object>> oauth2AuthorizedClient(OAuth2AuthorizedClient authorizedClient) {
		return attributes -> {
			if (authorizedClient == null) {
				attributes.remove(OAUTH2_AUTHORIZED_CLIENT_ATTR_NAME);
			} else {
				attributes.put(OAUTH2_AUTHORIZED_CLIENT_ATTR_NAME, authorizedClient);
			}
		};
	}
public static Consumer<Map<String, Object>> oauth2AuthorizedClient(OAuth2AuthorizedClient authorizedClient) {
		return attributes -> {
			if (authorizedClient == null) {
				attributes.remove(OAUTH2_AUTHORIZED_CLIENT_ATTR_NAME);
			} else {
				attributes.put(OAUTH2_AUTHORIZED_CLIENT_ATTR_NAME, authorizedClient);
			}
		};
	}
public static Consumer < Map < String , Object > > oauth2AuthorizedClient ( OAuth2AuthorizedClient authorizedClient ) { return attributes -> { if ( authorizedClient == null ) { attributes . remove ( OAUTH2_AUTHORIZED_CLIENT_ATTR_NAME ) ; } else { attributes . put ( OAUTH2_AUTHORIZED_CLIENT_ATTR_NAME , authorizedClient ) ; } } ; }
Modifies the {@link ClientRequest#attributes()} to include the {@link OAuth2AuthorizedClient} to be used for
providing the Bearer Token.

@param authorizedClient the {@link OAuth2AuthorizedClient} to use.
@return the {@link Consumer} to populate the attributes
Modifies the { @link ClientRequest#attributes () } to include the { @link OAuth2AuthorizedClient } to be used for providing the Bearer Token .