Class DefaultAddressStandardClaim
java.lang.Object
org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
- All Implemented Interfaces:
AddressStandardClaim
The default implementation of an
Address Claim.- Since:
- 5.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable StringReturns the country, ornullif it does not exist.@Nullable StringReturns the full mailing address, formatted for display, ornullif it does not exist.@Nullable StringReturns the city or locality, ornullif it does not exist.@Nullable StringReturns the zip code or postal code, ornullif it does not exist.@Nullable StringReturns the state, province, prefecture, or region, ornullif it does not exist.@Nullable StringReturns the full street address, which may include house number, street name, P.O.inthashCode()
-
Method Details
-
getFormatted
Description copied from interface:AddressStandardClaimReturns the full mailing address, formatted for display, ornullif it does not exist.- Specified by:
getFormattedin interfaceAddressStandardClaim- Returns:
- the full mailing address, or
nullif it does not exist
-
getStreetAddress
Description copied from interface:AddressStandardClaimReturns the full street address, which may include house number, street name, P.O. Box, etc., ornullif it does not exist.- Specified by:
getStreetAddressin interfaceAddressStandardClaim- Returns:
- the full street address, or
nullif it does not exist
-
getLocality
Description copied from interface:AddressStandardClaimReturns the city or locality, ornullif it does not exist.- Specified by:
getLocalityin interfaceAddressStandardClaim- Returns:
- the city or locality, or
nullif it does not exist
-
getRegion
Description copied from interface:AddressStandardClaimReturns the state, province, prefecture, or region, ornullif it does not exist.- Specified by:
getRegionin interfaceAddressStandardClaim- Returns:
- the state, province, prefecture, or region, or
nullif it does not exist
-
getPostalCode
Description copied from interface:AddressStandardClaimReturns the zip code or postal code, ornullif it does not exist.- Specified by:
getPostalCodein interfaceAddressStandardClaim- Returns:
- the zip code or postal code, or
nullif it does not exist
-
getCountry
Description copied from interface:AddressStandardClaimReturns the country, ornullif it does not exist.- Specified by:
getCountryin interfaceAddressStandardClaim- Returns:
- the country, or
nullif it does not exist
-
equals
-
hashCode
-