你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchTokenCredentials 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
Azure Batch帐户的 Azure Active Directory 令牌凭据。
public class BatchTokenCredentials : Microsoft.Azure.Batch.Auth.BatchCredentials
type BatchTokenCredentials = class
inherit BatchCredentials
Public Class BatchTokenCredentials
Inherits BatchCredentials
- 继承
构造函数
BatchTokenCredentials(String, Func<Task<String>>) |
使用指定的 Batch 服务终结点和身份验证令牌提供程序函数初始化 类的新实例 BatchTokenCredentials 。 |
BatchTokenCredentials(String, String) |
使用指定的 Batch 服务终结点和身份验证令牌初始化 类的新实例 BatchTokenCredentials 。 |
属性
BaseUrl |
获取 Batch 服务终结点。 (继承自 BatchCredentials) |
TokenProvider |
获取返回身份验证令牌的函数。 |