BatchUserTokenCredentials Class
- java.
lang. Object - com.
microsoft. rest. credentials. TokenCredentials - com.
microsoft. azure. batch. auth. BatchUserTokenCredentials
- com.
- com.
Implements
public class BatchUserTokenCredentials
extends com.microsoft.rest.credentials.TokenCredentials
implements BatchCredentials
User token based credentials for use with a Batch Service Client.
Constructor | Description |
---|---|
Batch |
Initializes a new instance of the Batch |
Modifier and Type | Method and Description |
---|---|
String |
authentication Gets the Active Directory auth endpoint. |
String |
base Gets the Batch service endpoint |
String |
batch Gets the Batch service auth endpoint. |
String |
client Gets the Active Directory application client id. |
String |
domain()
Gets the tenant or domain containing the application. |
String |
get |
String |
username()
Gets the user name for the Organization Id account. |
Methods inherited from java.lang.Object
BatchUserTokenCredentials
public BatchUserTokenCredentials(String baseUrl, String clientId, String username, String password, String domain, String batchEndpoint, String authenticationEndpoint)
Initializes a new instance of the BatchUserTokenCredentials.
Parameters:
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:
BatchUserTokenCredentials.getToken(Request request)Parameters:
Throws:
username
public String username()
Gets the user name for the Organization Id account.
Returns: