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.DefaultExpiringOAuth2RefreshToken
Add 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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getOid()
int
hashCode()
String
toString()
-
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:
equals
in classorg.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
-
toString
public String toString()
- Overrides:
toString
in classorg.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
-
-