Polish OAuth2 Client docs

Issue gh-14698
This commit is contained in:
Steve Riesenberg 2024-03-26 15:22:24 -05:00
parent f3c745c65b
commit 313619fec3
No known key found for this signature in database
GPG Key ID: 3D0169B18AB8F0A9
3 changed files with 10 additions and 10 deletions

View File

@ -22,7 +22,7 @@ The `OAuth2AuthorizationRequestRedirectWebFilter` uses a `ServerOAuth2Authorizat
The primary role of the `ServerOAuth2AuthorizationRequestResolver` is to resolve an `OAuth2AuthorizationRequest` from the provided web request.
The default implementation `DefaultServerOAuth2AuthorizationRequestResolver` matches on the (default) path `+/oauth2/authorization/{registrationId}+` extracting the `registrationId` and using it to build the `OAuth2AuthorizationRequest` for the associated `ClientRegistration`.
Given the following Spring Boot 2.x properties for an OAuth 2.0 Client registration:
Given the following Spring Boot properties for an OAuth 2.0 Client registration:
[source,yaml,attrs="-attributes"]
----
@ -573,7 +573,7 @@ which is an implementation of a `ReactiveOAuth2AuthorizedClientProvider` for the
=== Using the Access Token
Given the following Spring Boot 2.x properties for an OAuth 2.0 Client registration:
Given the following Spring Boot properties for an OAuth 2.0 Client registration:
[source,yaml]
----
@ -780,7 +780,7 @@ which is an implementation of a `ReactiveOAuth2AuthorizedClientProvider` for the
=== Using the Access Token
Given the following Spring Boot 2.x properties for an OAuth 2.0 Client registration:
Given the following Spring Boot properties for an OAuth 2.0 Client registration:
[source,yaml]
----
@ -1033,7 +1033,7 @@ authorizedClientManager.setAuthorizedClientProvider(authorizedClientProvider)
=== Using the Access Token
Given the following Spring Boot 2.x properties for an OAuth 2.0 Client registration:
Given the following Spring Boot properties for an OAuth 2.0 Client registration:
[source,yaml]
----
@ -1241,7 +1241,7 @@ authorizedClientManager.setAuthorizedClientProvider(authorizedClientProvider)
=== Using the Access Token
Given the following Spring Boot 2.x properties for an OAuth 2.0 Client registration:
Given the following Spring Boot properties for an OAuth 2.0 Client registration:
[source,yaml]
----

View File

@ -18,7 +18,7 @@ At a high-level, the core features available are:
* https://datatracker.ietf.org/doc/html/rfc7523#section-2.2[JWT Bearer]
.HTTP Client support
* <<oauth2Client-webclient-webflux, `WebClient` integration for Reactive Environments>> (for requesting protected resources)
* xref:reactive/oauth2/client/authorized-clients.adoc#oauth2Client-webclient-webflux[`WebClient` integration for Reactive Environments] (for requesting protected resources)
The `ServerHttpSecurity.oauth2Client()` DSL provides a number of configuration options for customizing the core components used by OAuth 2.0 Client.

View File

@ -27,7 +27,7 @@ The `OAuth2AuthorizationRequestRedirectFilter` uses an `OAuth2AuthorizationReque
The primary role of the `OAuth2AuthorizationRequestResolver` is to resolve an `OAuth2AuthorizationRequest` from the provided web request.
The default implementation `DefaultOAuth2AuthorizationRequestResolver` matches on the (default) path `+/oauth2/authorization/{registrationId}+`, extracting the `registrationId`, and using it to build the `OAuth2AuthorizationRequest` for the associated `ClientRegistration`.
Consider the following Spring Boot 2.x properties for an OAuth 2.0 Client registration:
Consider the following Spring Boot properties for an OAuth 2.0 Client registration:
[source,yaml,attrs="-attributes"]
----
@ -740,7 +740,7 @@ which is an implementation of an `OAuth2AuthorizedClientProvider` for the Client
=== Using the Access Token
Consider the following Spring Boot 2.x properties for an OAuth 2.0 Client registration:
Consider the following Spring Boot properties for an OAuth 2.0 Client registration:
[source,yaml]
----
@ -1005,7 +1005,7 @@ which is an implementation of an `OAuth2AuthorizedClientProvider` for the Resour
=== Using the Access Token
Consider the following Spring Boot 2.x properties for an OAuth 2.0 Client registration:
Consider the following Spring Boot properties for an OAuth 2.0 Client registration:
[source,yaml]
----
@ -1309,7 +1309,7 @@ authorizedClientManager.setAuthorizedClientProvider(authorizedClientProvider)
=== Using the Access Token
Given the following Spring Boot 2.x properties for an OAuth 2.0 Client registration:
Given the following Spring Boot properties for an OAuth 2.0 Client registration:
[source,yaml]
----