Class DefaultAddressStandardClaim
- java.lang.Object
-
- org.springframework.security.oauth2.core.oidc.DefaultAddressStandardClaim
-
- All Implemented Interfaces:
AddressStandardClaim
public final class DefaultAddressStandardClaim extends java.lang.Object implements AddressStandardClaim
The default implementation of anAddress Claim.- Since:
- 5.0
- See Also:
AddressStandardClaim
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultAddressStandardClaim.BuilderA builder forDefaultAddressStandardClaim.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCountry()Returns the country.java.lang.StringgetFormatted()Returns the full mailing address, formatted for display.java.lang.StringgetLocality()Returns the city or locality.java.lang.StringgetPostalCode()Returns the zip code or postal code.java.lang.StringgetRegion()Returns the state, province, prefecture, or region.java.lang.StringgetStreetAddress()Returns the full street address, which may include house number, street name, P.O.inthashCode()
-
-
-
Method Detail
-
getFormatted
public java.lang.String getFormatted()
Description copied from interface:AddressStandardClaimReturns the full mailing address, formatted for display.- Specified by:
getFormattedin interfaceAddressStandardClaim- Returns:
- the full mailing address
-
getStreetAddress
public java.lang.String getStreetAddress()
Description copied from interface:AddressStandardClaimReturns the full street address, which may include house number, street name, P.O. Box, etc.- Specified by:
getStreetAddressin interfaceAddressStandardClaim- Returns:
- the full street address
-
getLocality
public java.lang.String getLocality()
Description copied from interface:AddressStandardClaimReturns the city or locality.- Specified by:
getLocalityin interfaceAddressStandardClaim- Returns:
- the city or locality
-
getRegion
public java.lang.String getRegion()
Description copied from interface:AddressStandardClaimReturns the state, province, prefecture, or region.- Specified by:
getRegionin interfaceAddressStandardClaim- Returns:
- the state, province, prefecture, or region
-
getPostalCode
public java.lang.String getPostalCode()
Description copied from interface:AddressStandardClaimReturns the zip code or postal code.- Specified by:
getPostalCodein interfaceAddressStandardClaim- Returns:
- the zip code or postal code
-
getCountry
public java.lang.String getCountry()
Description copied from interface:AddressStandardClaimReturns the country.- Specified by:
getCountryin interfaceAddressStandardClaim- Returns:
- the country
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-