BatchApplicationTokenCredentials Class
- java.
lang. Object - com.
microsoft. rest. credentials. TokenCredentials - com.
microsoft. azure. batch. auth. BatchApplicationTokenCredentials
- com.
- com.
Implements
public class BatchApplicationTokenCredentials
extends com.microsoft.rest.credentials.TokenCredentials
implements BatchCredentials
Application token based credentials for use with a Batch Service Client.
Constructor Summary
Constructor | Description |
---|---|
BatchApplicationTokenCredentials(String baseUrl, String clientId, String secret, String domain, String batchEndpoint, String authenticationEndpoint) |
Initializes a new instance of the Batch |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
authenticationEndpoint()
Gets the Active Directory auth endpoint. |
String |
baseUrl()
Gets the Batch service endpoint |
String |
batchEndpoint()
Gets the Batch service auth endpoint. |
String |
clientId()
Gets the Active Directory application client id. |
String |
domain()
Gets the tenant or domain containing the application. |
String | getToken(Request request) |
Methods inherited from com.microsoft.rest.credentials.TokenCredentials
Methods inherited from java.lang.Object
Constructor Details
BatchApplicationTokenCredentials
public BatchApplicationTokenCredentials(String baseUrl, String clientId, String secret, String domain, String batchEndpoint, String authenticationEndpoint)
Initializes a new instance of the BatchApplicationTokenCredentials.
Parameters:
Method Details
authenticationEndpoint
public String authenticationEndpoint()
Gets the Active Directory auth endpoint.
Returns:
baseUrl
public String baseUrl()
Gets the Batch service endpoint
Returns:
batchEndpoint
public String batchEndpoint()
Gets the Batch service auth endpoint.
Returns:
clientId
public String clientId()
Gets the Active Directory application client id.
Returns:
domain
public String domain()
Gets the tenant or domain containing the application.
Returns:
getToken
public String getToken(Request request)
Overrides:
BatchApplicationTokenCredentials.getToken(Request request)Parameters:
Throws:
Applies to
Azure SDK for Java