Saml2SecurityTokenHandler.CreateStatements 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| CreateStatements(SecurityTokenDescriptor) |
建立 IEnumerable<T> 一個 的 Saml2Statement ,使其包含在斷言中。 |
| CreateStatements(SecurityTokenDescriptor, AuthenticationInformation) |
建立 IEnumerable<T> 一個 的 Saml2Statement ,使其包含在斷言中。 |
CreateStatements(SecurityTokenDescriptor)
建立 IEnumerable<T> 一個 的 Saml2Statement ,使其包含在斷言中。
protected virtual System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement> CreateStatements(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
override this.CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor) As IEnumerable(Of Saml2Statement)
參數
- tokenDescriptor
- SecurityTokenDescriptor
SecurityTokenDescriptor該 該 包含建立 .Saml2Statement
傳回
Saml2Statements 的枚舉。
例外狀況
若 tokenDescriptor 為零。
備註
SAML2 斷言中不要求陳述。 此方法可能會回傳空集合。
適用於
CreateStatements(SecurityTokenDescriptor, AuthenticationInformation)
建立 IEnumerable<T> 一個 的 Saml2Statement ,使其包含在斷言中。
protected virtual System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement> CreateStatements(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor, Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation authenticationInformation);
abstract member CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
override this.CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor, authenticationInformation As AuthenticationInformation) As IEnumerable(Of Saml2Statement)
參數
- tokenDescriptor
- SecurityTokenDescriptor
SecurityTokenDescriptor該 該 包含建立 .Saml2Statement
- authenticationInformation
- AuthenticationInformation
傳回
Saml2Statements 的枚舉。
例外狀況
若 tokenDescriptor 為零。
備註
SAML2 斷言中不要求陳述。 此方法可能會回傳空集合。