Interface CrowdSpecificRememberMeSettings

All Known Implementing Classes:
ImmutableCrowdSpecificRememberMeSettings

public interface CrowdSpecificRememberMeSettings
Represents basic Remember Me configuration in Crowd
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final boolean
    Default state of Remember Me configuration
    static final Duration
    Default expiration duration
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    Provides information whether Remember Me functionality is Enabled at the moment
  • Field Details

    • DEFAULT_ENABLED

      static final boolean DEFAULT_ENABLED
      Default state of Remember Me configuration
      See Also:
    • DEFAULT_EXPIRATION_DURATION

      static final Duration DEFAULT_EXPIRATION_DURATION
      Default expiration duration
  • Method Details

    • isEnabled

      boolean isEnabled()
      Provides information whether Remember Me functionality is Enabled at the moment
      Returns:
      true if Remember Me is enabled, false otherwise
    • getExpirationDuration

      Duration getExpirationDuration()
      Returns:
      Duration after which Remember Me token should expire