blob: 546a27a31ed3ff78acc9cdfb846e7583612a4b36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision;
import java.time.Instant;
import java.util.List;
import java.util.Optional;
/**
* Id, fingerprints and check access hashes of a data plane token
*
* @author mortent
*/
public record DataplaneToken(String tokenId, List<Version> versions) {
public record Version(String fingerprint, String checkAccessHash, Optional<Instant> expiration) {
}
}
|