Package org.jclouds.oauth.v2.config
Class OAuthProperties
- java.lang.Object
-
- org.jclouds.oauth.v2.config.OAuthProperties
-
public final class OAuthProperties extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUDIENCE
The oauth audience, who this token is intended for.static String
CERTIFICATE
When using oauth with Azure Active Directory, Client Credentials, and using JWT authentication, the certificate associated with the Private Key must be provided.static String
CREDENTIAL_TYPE
Specify if credentials are id + private key or if you are reusing an oauth2 token.static String
JWS_ALG
The JSON Web Signature alg, must beRS256
ornone
.static String
RESOURCE
When using oauth with Azure Active Directory and Client Credentials, a "resource" must be specified as part of the request.
-
-
-
Field Detail
-
JWS_ALG
public static final String JWS_ALG
The JSON Web Signature alg, must beRS256
ornone
.- See Also:
- Constant Field Values
-
AUDIENCE
public static final String AUDIENCE
The oauth audience, who this token is intended for. For instance in JWT and for google API's this property maps to: {"aud","https://accounts.google.com/o/oauth2/token"}- See Also:
- doc, Constant Field Values
-
CREDENTIAL_TYPE
public static final String CREDENTIAL_TYPE
Specify if credentials are id + private key or if you are reusing an oauth2 token.- See Also:
CredentialType
, Constant Field Values
-
RESOURCE
public static final String RESOURCE
When using oauth with Azure Active Directory and Client Credentials, a "resource" must be specified as part of the request.- See Also:
- doc, Constant Field Values
-
CERTIFICATE
public static final String CERTIFICATE
When using oauth with Azure Active Directory, Client Credentials, and using JWT authentication, the certificate associated with the Private Key must be provided. The fingerprint of the certificate is included in the JWT headers.- See Also:
- Constant Field Values
-
-