Skip to content

Commit f035c57

Browse files
committed
Add getters to OAuth2AuthorizedClientId
1 parent 985e569 commit f035c57

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ public OAuth2AuthorizedClientId(String clientRegistrationId, String principalNam
5050
this.principalName = principalName;
5151
}
5252

53+
public String getClientRegistrationId() {
54+
return this.clientRegistrationId;
55+
}
56+
57+
public String getPrincipalName() {
58+
return this.principalName;
59+
}
60+
5361
@Override
5462
public boolean equals(Object obj) {
5563
if (this == obj) {

0 commit comments

Comments
 (0)