Skip to content

Commit 1ac6054

Browse files
committed
Remove deprecations in OidcUserInfo
Closes gh-11586
1 parent 6b41faa commit 1ac6054

File tree

1 file changed

+0
-11
lines changed
  • oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/oidc

1 file changed

+0
-11
lines changed

oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/oidc/OidcUserInfo.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -244,17 +244,6 @@ public Builder phoneNumber(String phoneNumber) {
244244
return this.claim(StandardClaimNames.PHONE_NUMBER, phoneNumber);
245245
}
246246

247-
/**
248-
* Use this verified-phone-number indicator in the resulting {@link OidcUserInfo}
249-
* @param phoneNumberVerified The verified-phone-number indicator to use
250-
* @return the {@link Builder} for further configurations
251-
* @deprecated Use {@link Builder#phoneNumberVerified(Boolean)}
252-
*/
253-
@Deprecated
254-
public Builder phoneNumberVerified(String phoneNumberVerified) {
255-
return this.claim(StandardClaimNames.PHONE_NUMBER_VERIFIED, phoneNumberVerified);
256-
}
257-
258247
/**
259248
* Use this verified-phone-number indicator in the resulting {@link OidcUserInfo}
260249
* @param phoneNumberVerified The verified-phone-number indicator to use

0 commit comments

Comments
 (0)