digital.toke.TokenRenewal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vault-java-driver Show documentation
Show all versions of vault-java-driver Show documentation
A java driver for a subset of Hashicorp's Vault HTTP REST API.
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright 2019 David R. Smith All Rights Reserved
*/
package digital.toke;
public class TokenRenewal {
public final Token oldToken;
public final Token newToken;
public final RenewalType renewalType;
public TokenRenewal(RenewalType type, Token oldToken, Token newToken) {
super();
this.oldToken = oldToken;
this.newToken = newToken;
this.renewalType = type;
}
}