BatchTokenCredentials Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Azure Active Directory token credentials for an Azure Batch account.
public class BatchTokenCredentials : Microsoft.Azure.Batch.Auth.BatchCredentials
type BatchTokenCredentials = class
inherit BatchCredentials
Public Class BatchTokenCredentials
Inherits BatchCredentials
- Inheritance
Constructors
BatchTokenCredentials(String, Func<Task<String>>) |
Initializes a new instance of the BatchTokenCredentials class with the specified Batch service endpoint and authentication token provider function. |
BatchTokenCredentials(String, String) |
Initializes a new instance of the BatchTokenCredentials class with the specified Batch service endpoint and authentication token. |
Properties
BaseUrl |
Gets the Batch service endpoint. (Inherited from BatchCredentials) |
TokenProvider |
Gets a function which returns an authentication token. |
Applies to
Azure SDK for .NET