mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Remove deprecations in OidcUserInfo
Closes gh-11586
This commit is contained in:
parent
6b41faaf55
commit
1ac6054e6f
@ -244,17 +244,6 @@ public class OidcUserInfo implements StandardClaimAccessor, Serializable {
|
||||
return this.claim(StandardClaimNames.PHONE_NUMBER, phoneNumber);
|
||||
}
|
||||
|
||||
/**
|
||||
* Use this verified-phone-number indicator in the resulting {@link OidcUserInfo}
|
||||
* @param phoneNumberVerified The verified-phone-number indicator to use
|
||||
* @return the {@link Builder} for further configurations
|
||||
* @deprecated Use {@link Builder#phoneNumberVerified(Boolean)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Builder phoneNumberVerified(String phoneNumberVerified) {
|
||||
return this.claim(StandardClaimNames.PHONE_NUMBER_VERIFIED, phoneNumberVerified);
|
||||
}
|
||||
|
||||
/**
|
||||
* Use this verified-phone-number indicator in the resulting {@link OidcUserInfo}
|
||||
* @param phoneNumberVerified The verified-phone-number indicator to use
|
||||
|
Loading…
x
Reference in New Issue
Block a user