blob: a3c2f0264d3b1752802d11e08a5b34b7801a42b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.athenz.identityprovider.api;
import java.util.Optional;
import java.util.OptionalInt;
/**
* A client that communicates that fetches an identity document.
*
* @author bjorncs
*/
public interface IdentityDocumentClient {
SignedIdentityDocument getNodeIdentityDocument(String host, int documentVersion);
Optional<SignedIdentityDocument> getTenantIdentityDocument(String host, int documentVersion);
}
|