Package org.jclouds.oauth.v2.domain
Class ClientCredentialsAuthArgs
- java.lang.Object
-
- org.jclouds.oauth.v2.domain.ClientCredentialsAuthArgs
-
public abstract class ClientCredentialsAuthArgs extends Object
Details corresponding the a client_credential Azure AD Oauth request
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ClientCredentialsClaims
claims()
The claims for the JWT.abstract String
clientId()
The ID of the client.static ClientCredentialsAuthArgs
create(String clientId, ClientCredentialsClaims claims, String resource, String scope)
abstract String
resource()
The resource to authorize against.abstract String
scope()
The scope(s) to authorize against.
-
-
-
Method Detail
-
clientId
public abstract String clientId()
The ID of the client.
-
claims
public abstract ClientCredentialsClaims claims()
The claims for the JWT.
-
resource
public abstract String resource()
The resource to authorize against.
-
create
public static ClientCredentialsAuthArgs create(String clientId, ClientCredentialsClaims claims, String resource, String scope)
-
-