Saml2SecurityTokenHandler.CreateIssuerNameIdentifier 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個名稱識別碼,用以識別斷言發行者。
protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier CreateIssuerNameIdentifier(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateIssuerNameIdentifier : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier
override this.CreateIssuerNameIdentifier : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier
Protected Overridable Function CreateIssuerNameIdentifier (tokenDescriptor As SecurityTokenDescriptor) As Saml2NameIdentifier
參數
- tokenDescriptor
- SecurityTokenDescriptor
標記描述。
傳回
一個 Saml2NameIdentifier 使用 tokenDescriptor。發行人。
例外狀況
若為 tokenDescriptor 空。
如果 tokenDescriptor。發行者為空或空。
備註
使用 tokenDescriptor.Issuer。