2022-03-17 17:17:15 +01:00
|
|
|
package org.gcube.smartgears.security;
|
|
|
|
|
2022-03-21 11:17:07 +01:00
|
|
|
import java.util.Set;
|
2022-03-17 17:17:15 +01:00
|
|
|
|
2022-09-22 11:27:40 +02:00
|
|
|
import org.gcube.common.security.credentials.Credentials;
|
2022-05-30 18:29:46 +02:00
|
|
|
import org.gcube.common.security.secrets.Secret;
|
|
|
|
|
2022-03-17 17:17:15 +01:00
|
|
|
public interface AuthorizationProvider {
|
|
|
|
|
2022-05-26 14:39:31 +02:00
|
|
|
Set<String> getContexts();
|
2022-05-30 18:29:46 +02:00
|
|
|
|
|
|
|
Secret getSecretForContext(String context);
|
2022-09-22 11:27:40 +02:00
|
|
|
|
|
|
|
Credentials getCredentials();
|
2022-03-17 17:17:15 +01:00
|
|
|
}
|