Polish gh-13648

This commit is contained in:
Steve Riesenberg 2024-04-18 16:17:49 -05:00
parent b69939c1e5
commit 05d3beb6a8
No known key found for this signature in database
GPG Key ID: 3D0169B18AB8F0A9

View File

@ -20,6 +20,7 @@ import java.io.Serializable;
import java.util.Objects;
import org.springframework.security.core.SpringSecurityCoreVersion;
import org.springframework.security.oauth2.client.registration.ClientRegistration;
import org.springframework.util.Assert;
/**
@ -51,16 +52,18 @@ public final class OAuth2AuthorizedClientId implements Serializable {
}
/**
* @return the registration-id part of this authorized client ID
* @since 6.2.3
* Returns the identifier for the {@link ClientRegistration client registration}.
* @return the identifier for the client registration
* @since 6.3
*/
public String getClientRegistrationId() {
return this.clientRegistrationId;
}
/**
* @return the principalName part of this authorized client ID
* @since 6.2.3
* Returns the name of the End-User {@code Principal} (Resource Owner).
* @return the name of the End-User
* @since 6.3
*/
public String getPrincipalName() {
return this.principalName;