oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/introspection/NimbusReactiveOAuth2TokenIntrospectionClient.java
@Override
	public Mono<Map<String, Object>> introspect(String token) {
		return Mono.just(token)
				.flatMap(this::makeRequest)
				.flatMap(this::adaptToNimbusResponse)
				.map(this::parseNimbusResponse)
				.map(this::castToNimbusSuccess)
				.doOnNext(response -> validate(token, response))
				.map(this::convertClaimsSet)
				.onErrorMap(e -> !(e instanceof OAuth2IntrospectionException), this::onError);
	}
@Override
	public Mono<Map<String, Object>> introspect(String token) {
		return Mono.just(token)
				.flatMap(this::makeRequest)
				.flatMap(this::adaptToNimbusResponse)
				.map(this::parseNimbusResponse)
				.map(this::castToNimbusSuccess)
				.doOnNext(response -> validate(token, response))
				.map(this::convertClaimsSet)
				.onErrorMap(e -> !(e instanceof OAuth2IntrospectionException), this::onError);
	}
@ Override public Mono < Map < String , Object > > introspect ( String token ) { return Mono . just ( token ) . flatMap ( this :: makeRequest ) . flatMap ( this :: adaptToNimbusResponse ) . map ( this :: parseNimbusResponse ) . map ( this :: castToNimbusSuccess ) . doOnNext ( response -> validate ( token , response ) ) . map ( this :: convertClaimsSet ) . onErrorMap ( e -> ! ( e instanceof OAuth2IntrospectionException ) , this :: onError ) ; }
{@inheritDoc}
{