org.springframework.security.oauth2.common
Class DefaultExpiringOAuth2RefreshToken

java.lang.Object
  extended by org.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
      extended by org.springframework.security.oauth2.common.DefaultExpiringOAuth2RefreshToken
All Implemented Interfaces:
Serializable, ExpiringOAuth2RefreshToken, OAuth2RefreshToken

public class DefaultExpiringOAuth2RefreshToken
extends DefaultOAuth2RefreshToken
implements ExpiringOAuth2RefreshToken

Author:
Ryan Heaton
See Also:
Serialized Form

Constructor Summary
DefaultExpiringOAuth2RefreshToken(String value, Date expiration)
           
 
Method Summary
 Date getExpiration()
          The instant the token expires.
 
Methods inherited from class org.springframework.security.oauth2.common.DefaultOAuth2RefreshToken
equals, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.security.oauth2.common.OAuth2RefreshToken
getValue
 

Constructor Detail

DefaultExpiringOAuth2RefreshToken

public DefaultExpiringOAuth2RefreshToken(String value,
                                         Date expiration)
Parameters:
value -
Method Detail

getExpiration

public Date getExpiration()
The instant the token expires.

Specified by:
getExpiration in interface ExpiringOAuth2RefreshToken
Returns:
The instant the token expires.


Copyright © 2012. All Rights Reserved.