Polish WebSessionOAuth2ServerAuthorizationRequestRepository Format
Issue: gh-6215
This commit is contained in:
parent
a60fd43534
commit
752733e8de
|
@ -62,8 +62,9 @@ public final class WebSessionOAuth2ServerAuthorizationRequestRepository
|
|||
public Mono<Void> saveAuthorizationRequest(
|
||||
OAuth2AuthorizationRequest authorizationRequest, ServerWebExchange exchange) {
|
||||
Assert.notNull(authorizationRequest, "authorizationRequest cannot be null");
|
||||
return saveStateToAuthorizationRequest(exchange).doOnNext(stateToAuthorizationRequest ->
|
||||
stateToAuthorizationRequest.put(authorizationRequest.getState(), authorizationRequest)).then();
|
||||
return saveStateToAuthorizationRequest(exchange)
|
||||
.doOnNext(stateToAuthorizationRequest -> stateToAuthorizationRequest.put(authorizationRequest.getState(), authorizationRequest))
|
||||
.then();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue