你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ContentKeyPolicyTokenRestriction 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ContentKeyPolicyTokenRestriction() |
初始化 ContentKeyPolicyTokenRestriction 类的新实例。 |
ContentKeyPolicyTokenRestriction(String, String, ContentKeyPolicyRestrictionTokenKey, ContentKeyPolicyRestrictionTokenType, IList<ContentKeyPolicyRestrictionTokenKey>, IList<ContentKeyPolicyTokenClaim>, String) |
初始化 ContentKeyPolicyTokenRestriction 类的新实例。 |
ContentKeyPolicyTokenRestriction()
初始化 ContentKeyPolicyTokenRestriction 类的新实例。
public ContentKeyPolicyTokenRestriction ();
Public Sub New ()
适用于
ContentKeyPolicyTokenRestriction(String, String, ContentKeyPolicyRestrictionTokenKey, ContentKeyPolicyRestrictionTokenType, IList<ContentKeyPolicyRestrictionTokenKey>, IList<ContentKeyPolicyTokenClaim>, String)
初始化 ContentKeyPolicyTokenRestriction 类的新实例。
public ContentKeyPolicyTokenRestriction (string issuer, string audience, Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenKey primaryVerificationKey, Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenType restrictionTokenType, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenKey> alternateVerificationKeys = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyTokenClaim> requiredClaims = default, string openIdConnectDiscoveryDocument = default);
new Microsoft.Azure.Management.Media.Models.ContentKeyPolicyTokenRestriction : string * string * Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenKey * Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenType * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenKey> * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyTokenClaim> * string -> Microsoft.Azure.Management.Media.Models.ContentKeyPolicyTokenRestriction
Public Sub New (issuer As String, audience As String, primaryVerificationKey As ContentKeyPolicyRestrictionTokenKey, restrictionTokenType As ContentKeyPolicyRestrictionTokenType, Optional alternateVerificationKeys As IList(Of ContentKeyPolicyRestrictionTokenKey) = Nothing, Optional requiredClaims As IList(Of ContentKeyPolicyTokenClaim) = Nothing, Optional openIdConnectDiscoveryDocument As String = Nothing)
参数
- issuer
- String
令牌颁发者。
- audience
- String
令牌的受众。
- primaryVerificationKey
- ContentKeyPolicyRestrictionTokenKey
主验证密钥。
- restrictionTokenType
- ContentKeyPolicyRestrictionTokenType
令牌类型。 可能的值包括:“Unknown”、“Swt”、“Jwt”
- alternateVerificationKeys
- IList<ContentKeyPolicyRestrictionTokenKey>
备用验证密钥的列表。
- requiredClaims
- IList<ContentKeyPolicyTokenClaim>
所需令牌声明的列表。
- openIdConnectDiscoveryDocument
- String
OpenID connect 发现文档。