@Singleton public class OAuthCredentialsSupplier extends Object implements com.google.common.base.Supplier<OAuthCredentials>
OAuthCredentials from a pem private key using the KeyFactory obtained from the JWT Algorithm
Name<->KeyFactory name mapping in OAuthConstants. The pem pk algorithm must match the KeyFactory algorithm.OAuthConstants.OAUTH_ALGORITHM_NAMES_TO_KEYFACTORY_ALGORITHM_NAMES| Constructor and Description |
|---|
OAuthCredentialsSupplier(com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds,
org.jclouds.oauth.v2.functions.OAuthCredentialsSupplier.OAuthCredentialsForCredentials loader,
String signatureOrMacAlgorithm) |
@Inject
public OAuthCredentialsSupplier(com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds,
org.jclouds.oauth.v2.functions.OAuthCredentialsSupplier.OAuthCredentialsForCredentials loader,
@Named(value="jclouds.oauth.signature-or-mac-algorithm")
String signatureOrMacAlgorithm)
public OAuthCredentials get()
get in interface com.google.common.base.Supplier<OAuthCredentials>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.