Skip to content

Commit

Permalink
Polish gh-13648
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohnr committed Apr 18, 2024
1 parent b69939c commit 05d3beb
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.util.Objects;

import org.springframework.security.core.SpringSecurityCoreVersion;
import org.springframework.security.oauth2.client.registration.ClientRegistration;
import org.springframework.util.Assert;

/**
Expand Down Expand Up @@ -51,16 +52,18 @@ public OAuth2AuthorizedClientId(String clientRegistrationId, String principalNam
}

/**
* @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;
Expand Down

0 comments on commit 05d3beb

Please sign in to comment.