1
0
mirror of synced 2026-08-04 17:27:13 +00:00

Document @ClientRegistrationId on types

Issue gh-17806
This commit is contained in:
Rob Winch
2025-09-12 15:04:44 -05:00
parent 02a948da81
commit a0fe04c4aa
6 changed files with 137 additions and 1 deletions
@@ -51,6 +51,13 @@ include-code::./UserService[tag=getAuthenticatedUser]
The xref:features/integrations/rest/http-interface.adoc#client-registration-id[`@ClientRegistrationId`] will be processed by xref:features/integrations/rest/http-interface.adoc#client-registration-id-processor[`ClientRegistrationIdProcessor`]
[[type]]
=== Type Level Declarations
`@ClientRegistrationId` can also be added at the type level to avoid repeating the declaration on every method.
include-code::./UserService[tag=type]
[[client-registration-id-processor]]
== `ClientRegistrationIdProcessor`
+1 -1
View File
@@ -49,7 +49,7 @@ http.csrf((csrf) -> csrf.spa());
* Added OAuth2 Support for xref:features/integrations/rest/http-interface.adoc[HTTP Interface Integration]
* Added support for custom `JwkSource` in `NimbusJwtDecoder`, allowing usage of Nimbus's `JwkSourceBuilder` API
* Added builder for `NimbusJwtEncoder`, supports specifying an EC or RSA key pair or a secret key
* Added support for `@ClientRegistrationId` at class level, eliminating the need for method level repetition
* Added support for `@ClientRegistrationId` at the xref:features/integrations/rest/http-interface.adoc#type[type level], eliminating the need for method level repetition
== SAML 2.0