All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.springframework.security.oauth2.common.DefaultExpiringOAuth2RefreshToken Maven / Gradle / Ivy

There is a newer version: 2.5.2.RELEASE
Show newest version
package org.springframework.security.oauth2.common;

import java.util.Date;

/**
 * 

* @deprecated See the OAuth 2.0 Migration Guide for Spring Security 5. * * @author Ryan Heaton */ @Deprecated public class DefaultExpiringOAuth2RefreshToken extends DefaultOAuth2RefreshToken implements ExpiringOAuth2RefreshToken { private static final long serialVersionUID = 3449554332764129719L; private final Date expiration; /** * @param value */ public DefaultExpiringOAuth2RefreshToken(String value, Date expiration) { super(value); this.expiration = expiration; } /** * The instant the token expires. * * @return The instant the token expires. */ public Date getExpiration() { return expiration; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy