Annotation Interface ClientRegistrationId
This annotation can be added to the method of an interface based HTTP client created
using
HttpServiceProxyFactory to
automatically associate an OAuth token with the request.- Since:
- 7.0
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSets the client registration identifier.The default attribute for this annotation.
-
Element Details
-
registrationId
Sets the client registration identifier.- Returns:
- the client registration identifier
- Default:
- ""
-
value
The default attribute for this annotation. This is an alias forregistrationId(). For example,@RegisteredOAuth2AuthorizedClient("login-client")is equivalent to@RegisteredOAuth2AuthorizedClient(registrationId="login-client").- Returns:
- the client registration identifier
- Default:
- ""
-