All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.githubapp.runtime.github.CachedInstallationToken Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
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