Fix typos and formatting in documentation

This commit is contained in:
Seungrae 2024-07-03 22:16:11 +09:00 committed by Josh Cummings
parent ce018ff003
commit 148e7843bf
3 changed files with 7 additions and 7 deletions

View File

@ -240,7 +240,7 @@ static RoleHierarchy roleHierarchy() {
Kotlin:: Kotlin::
+ +
[source,java,role="secondary"] [source,kotlin,role="secondary"]
---- ----
companion object { companion object {
@Bean @Bean

View File

@ -87,7 +87,7 @@ RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistration.wit
Kotlin:: Kotlin::
+ +
[source,java,role="secondary"] [source,kotlin,role="secondary"]
---- ----
var relyingPartyRegistration: RelyingPartyRegistration = var relyingPartyRegistration: RelyingPartyRegistration =
RelyingPartyRegistration.withRegistrationId("okta") RelyingPartyRegistration.withRegistrationId("okta")
@ -96,7 +96,7 @@ var relyingPartyRegistration: RelyingPartyRegistration =
// ... // ...
.wantAuthnRequestsSigned(false) .wantAuthnRequestsSigned(false)
} }
.build(); .build()
---- ----
====== ======
@ -141,7 +141,7 @@ var relyingPartyRegistration: RelyingPartyRegistration =
) )
} }
} }
.build(); .build()
---- ----
====== ======

View File

@ -1000,12 +1000,12 @@ Collection<RelyingPartyRegistration> registrations = RelyingPartyRegistrations
.entityId("https://example.org/saml2/sp") .entityId("https://example.org/saml2/sp")
.build() .build()
) )
.collect(Collectors.toList())); .collect(Collectors.toList());
---- ----
Kotlin:: Kotlin::
+ +
[source,java,role="secondary"] [source,kotlin,role="secondary"]
---- ----
var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrations var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrations
.collectionFromMetadataLocation("https://example.org/saml2/idp/metadata.xml") .collectionFromMetadataLocation("https://example.org/saml2/idp/metadata.xml")
@ -1015,7 +1015,7 @@ var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrati
.assertionConsumerServiceLocation("{baseUrl}/login/saml2/sso") .assertionConsumerServiceLocation("{baseUrl}/login/saml2/sso")
.build() .build()
} }
.collect(Collectors.toList())); .collect(Collectors.toList())
---- ----
====== ======