Class GenerateOneTimeTokenRequest

java.lang.Object
org.springframework.security.authentication.ott.GenerateOneTimeTokenRequest

public class GenerateOneTimeTokenRequest extends Object
Class to store information related to an One-Time Token authentication request
Since:
6.4
  • Constructor Details

    • GenerateOneTimeTokenRequest

      public GenerateOneTimeTokenRequest(String username)
    • GenerateOneTimeTokenRequest

      public GenerateOneTimeTokenRequest(String username, Duration expiresIn)
  • Method Details

    • getUsername

      public String getUsername()
    • getExpiresIn

      public Duration getExpiresIn()