Skip to content

Commit

Permalink
Polish OAuth2 Client docs
Browse files Browse the repository at this point in the history
Issue gh-14698
  • Loading branch information
sjohnr committed Mar 26, 2024
1 parent f3c745c commit 313619f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
----
Expand Down Expand Up @@ -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]
----
Expand Down Expand Up @@ -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]
----
Expand Down Expand Up @@ -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]
----
Expand Down Expand Up @@ -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]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/reactive/oauth2/client/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
----
Expand Down Expand Up @@ -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]
----
Expand Down Expand Up @@ -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]
----
Expand Down Expand Up @@ -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]
----
Expand Down

0 comments on commit 313619f

Please sign in to comment.