Saml2SecurityTokenHandler.CreateSubject(SecurityTokenDescriptor) 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.
Creates a SAML2 subject of the assertion.
protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2Subject CreateSubject (Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateSubject : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Subject
override this.CreateSubject : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Subject
Protected Overridable Function CreateSubject (tokenDescriptor As SecurityTokenDescriptor) As Saml2Subject
Parameters
- tokenDescriptor
- SecurityTokenDescriptor
The security token descriptor to create the subject.
Returns
A Saml2Subject.
Exceptions
Thrown when 'tokenDescriptor' is null.
Applies to
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