SecurityToken.CanCreateKeyIdentifierClause<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether this security token is capable of creating the specified key identifier.
public:
generic <typename T>
where T : System::IdentityModel::Tokens::SecurityKeyIdentifierClause virtual bool CanCreateKeyIdentifierClause();
public virtual bool CanCreateKeyIdentifierClause<T> () where T : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;
abstract member CanCreateKeyIdentifierClause : unit -> bool (requires 'T :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
override this.CanCreateKeyIdentifierClause : unit -> bool (requires 'T :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
Public Overridable Function CanCreateKeyIdentifierClause(Of T As SecurityKeyIdentifierClause) () As Boolean
Type Parameters
- T
A SecurityKeyIdentifierClause that specifies the key identifier to create.
Returns
true
when T
is of type SecurityKeyIdentifierClause; otherwise, false
.
Remarks
Use the CanCreateKeyIdentifierClause method to determine whether a security token can create a specific key identifier. To create the key identifier call the CreateKeyIdentifierClause method.
The default implementation supports key identifier clauses of type LocalIdKeyIdentifierClause.
Applies to
See also
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk