Udostępnij za pośrednictwem


BatchTokenCredentials Class

Definition

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
BatchTokenCredentials

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