Class ServiceProviderToken.Session.Builder

    • Method Detail

      • creationTime

        public ServiceProviderToken.Session.Builder creationTime​(long creationTime)
        Set the time the session was originally created and return this builder.
        Parameters:
        creationTime - time the session was originally created
        Returns:
        this builder
      • lastRenewalTime

        public ServiceProviderToken.Session.Builder lastRenewalTime​(long lastRenewalTime)
        Set the last time the session was renewed and return this builder.
        Parameters:
        lastRenewalTime - last time the session was renewed
        Returns:
        this builder
      • timeToLive

        public ServiceProviderToken.Session.Builder timeToLive​(long timeToLive)
        Sets the length of time the session is valid for and returns this builder.
        Parameters:
        timeToLive - length of time the session is valid for
        Returns:
        this builder