return new PlatformLayerHelpers(client, serviceProviderHelpers);
}
private DirectAuthenticator buildDirectAuthenticator(ProjectAuthorization project) {
String auth = DirectAuthenticationToken.encodeToken(project.getId(), project.getName());
CryptoKey secret = project.getProjectSecret();
DirectAuthenticationToken token = new DirectAuthenticationToken(auth, secret);
DirectAuthenticator directAuthenticator = new DirectAuthenticator(token);
return directAuthenticator;
}