Browse Source

Add @Deprecation on removeAuthorizationRequest() (#5634)

pull/5643/head
Johnny Lim 8 years ago committed by Joe Grandja
parent
commit
3d1185df3b
  1. 3
      oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/AuthorizationRequestRepository.java

3
oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/AuthorizationRequestRepository.java

@ -67,11 +67,12 @@ public interface AuthorizationRequestRepository<T extends OAuth2AuthorizationReq @@ -67,11 +67,12 @@ public interface AuthorizationRequestRepository<T extends OAuth2AuthorizationReq
* @param request the {@code HttpServletRequest}
* @return the removed {@link OAuth2AuthorizationRequest} or {@code null} if not available
*/
@Deprecated
T removeAuthorizationRequest(HttpServletRequest request);
/**
* Removes and returns the {@link OAuth2AuthorizationRequest} associated to the
* provided {@code HttpServletRequest} or if not available returns {@code null}.
* provided {@code HttpServletRequest} and {@code HttpServletResponse} or if not available returns {@code null}.
*
* @since 5.1
* @param request the {@code HttpServletRequest}

Loading…
Cancel
Save