Package org.springframework.security.oauth2.client.annotation
@NullMarked
package org.springframework.security.oauth2.client.annotation
Annotations for OAuth2 Client (e.g. method parameters).
-
Annotation InterfacesClassDescriptionThis annotation can be added to the method of an interface based HTTP client created using
HttpServiceProxyFactoryto automatically associate an OAuth token with the request.This annotation may be used to resolve a method parameter to an argument value of typeOAuth2AuthorizedClient.