aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/AthenzClientFactory.java
blob: 72e7c758070b144f58290f1940c4dce04fa75aeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.athenz;

import com.yahoo.vespa.athenz.api.NToken;

/**
 * @author bjorncs
 */
public interface AthenzClientFactory {

    ZmsClient createZmsClientWithServicePrincipal();

    ZtsClient createZtsClientWithServicePrincipal();

    ZmsClient createZmsClientWithAuthorizedServiceToken(NToken authorizedServiceToken);

}