Skip to content

Commit 05d3beb

Browse files
committed
Polish gh-13648
1 parent b69939c commit 05d3beb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Diff for: oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/OAuth2AuthorizedClientId.java

+7-4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import java.util.Objects;
2121

2222
import org.springframework.security.core.SpringSecurityCoreVersion;
23+
import org.springframework.security.oauth2.client.registration.ClientRegistration;
2324
import org.springframework.util.Assert;
2425

2526
/**
@@ -51,16 +52,18 @@ public OAuth2AuthorizedClientId(String clientRegistrationId, String principalNam
5152
}
5253

5354
/**
54-
* @return the registration-id part of this authorized client ID
55-
* @since 6.2.3
55+
* Returns the identifier for the {@link ClientRegistration client registration}.
56+
* @return the identifier for the client registration
57+
* @since 6.3
5658
*/
5759
public String getClientRegistrationId() {
5860
return this.clientRegistrationId;
5961
}
6062

6163
/**
62-
* @return the principalName part of this authorized client ID
63-
* @since 6.2.3
64+
* Returns the name of the End-User {@code Principal} (Resource Owner).
65+
* @return the name of the End-User
66+
* @since 6.3
6467
*/
6568
public String getPrincipalName() {
6669
return this.principalName;

0 commit comments

Comments
 (0)