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

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

The newest version!
package org.springframework.security.oauth2.common;

import java.util.Date;

/**
 * @author Ryan Heaton
 */
public class ExpiringOAuth2RefreshToken extends OAuth2RefreshToken {

  private Date expiration;

  /**
   * The instant the token expires.
   *
   * @return The instant the token expires.
   */
  public Date getExpiration() {
    return expiration;
  }

  /**
   * The instant the token expires.
   *
   * @param expiration The instant the token expires.
   */
  public void setExpiration(Date expiration) {
    this.expiration = expiration;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy