summaryrefslogtreecommitdiffstats
path: root/container-disc/src/main/java/com/yahoo/container/jdisc/athenz/AthenzIdentityProvider.java
blob: 9762d69ec311c7bbf763399385e5118e11e19881 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.jdisc.athenz;

import javax.net.ssl.SSLContext;

/**
 * @author mortent
 */
public interface AthenzIdentityProvider {
    String domain();
    String service();
    SSLContext getIdentitySslContext();
    SSLContext getRoleSslContext(String domain, String role);
    String getRoleToken(String domain);
    String getRoleToken(String domain, String role);
}