Saml2SecurityTokenHandler.CreateAttributeStatement 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2AttributeStatement CreateAttributeStatement(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAttributeStatement : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2AttributeStatement
override this.CreateAttributeStatement : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2AttributeStatement
Protected Overridable Function CreateAttributeStatement (tokenDescriptor As SecurityTokenDescriptor) As Saml2AttributeStatement
參數
- tokenDescriptor
- SecurityTokenDescriptor
傳回
一個 Saml2AttributeStatement。
例外狀況
若 tokenDescriptor 為零。
備註
若標記描述符不包含任何主體或主體無任何權利要求,此方法可能會回傳 null。