io.quarkiverse.githubapp.runtime.github.CachedInstallationToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-github-app Show documentation
Show all versions of quarkus-github-app Show documentation
Automate GitHub tasks with a GitHub App
package io.quarkiverse.githubapp.runtime.github;
import java.time.Instant;
import java.util.Date;
class CachedInstallationToken {
private final String token;
private final Instant expiresAt;
CachedInstallationToken(String token, Date expiresAt) {
this.token = token;
this.expiresAt = expiresAt.toInstant();
}
public String getToken() {
return token;
}
public Instant getExpiresAt() {
return expiresAt;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy