Class SecretBuilder.SecretAndExpirer<T extends Secret>

  • Type Parameters:
    T - the secret's type.
    Enclosing class:
    SecretBuilder

    public static class SecretBuilder.SecretAndExpirer<T extends Secret>
    extends Object
    A simple holder of a secret and its expirer.
    • Method Detail

      • getSecret

        public T getSecret()
        Returns the secret.
        Returns:
        the secret.