Class AccessTokenConfigurationProperties

java.lang.Object
io.micronaut.security.token.generator.AccessTokenConfigurationProperties
All Implemented Interfaces:
AccessTokenConfiguration

@ConfigurationProperties("micronaut.security.token.generator.access-token") public class AccessTokenConfigurationProperties extends Object implements AccessTokenConfiguration
Access token configuration.
Since:
2.0.0
Author:
James Kleeh
  • Field Details

  • Constructor Details

    • AccessTokenConfigurationProperties

      public AccessTokenConfigurationProperties()
  • Method Details

    • getExpiration

      @NonNull public @NonNull Integer getExpiration()
      Specified by:
      getExpiration in interface AccessTokenConfiguration
      Returns:
      The number of seconds until the access token expires.
    • setExpiration

      public void setExpiration(Integer expiration)
      Access token expiration. Default value (3600).
      Parameters:
      expiration - The expiration