Class DefaultOriginalAwareOAuth2RefreshToken
- java.lang.Object
-
- org.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
-
- org.springframework.security.oauth2.common.DefaultExpiringOAuth2RefreshToken
-
- com.broadleafcommerce.auth.token.service.DefaultOriginalAwareOAuth2RefreshToken
-
- All Implemented Interfaces:
Serializable,org.springframework.security.oauth2.common.ExpiringOAuth2RefreshToken,org.springframework.security.oauth2.common.OAuth2RefreshToken
public class DefaultOriginalAwareOAuth2RefreshToken extends org.springframework.security.oauth2.common.DefaultExpiringOAuth2RefreshTokenAdd a new token wrapper type that allows keeping track of the id for the original ancestor refresh token.
-
-
Constructor Summary
Constructors Constructor Description DefaultOriginalAwareOAuth2RefreshToken(String value, Date expiration, String oid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetOid()inthashCode()StringtoString()-
Methods inherited from class org.springframework.security.oauth2.common.DefaultExpiringOAuth2RefreshToken
getExpiration
-
Methods inherited from class org.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
getValue
-
-
-
-
Method Detail
-
getOid
public String getOid()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classorg.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
-
toString
public String toString()
- Overrides:
toStringin classorg.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
-
-