SamlSubject.ExtractSubjectKeyClaimSet(SamlSecurityTokenAuthenticator) 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 set of claims using the properties of this class and the specified SAML security token authenticator.
public:
virtual System::IdentityModel::Claims::ClaimSet ^ ExtractSubjectKeyClaimSet(System::IdentityModel::Selectors::SamlSecurityTokenAuthenticator ^ samlAuthenticator);
public virtual System.IdentityModel.Claims.ClaimSet ExtractSubjectKeyClaimSet (System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator samlAuthenticator);
abstract member ExtractSubjectKeyClaimSet : System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator -> System.IdentityModel.Claims.ClaimSet
override this.ExtractSubjectKeyClaimSet : System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator -> System.IdentityModel.Claims.ClaimSet
Public Overridable Function ExtractSubjectKeyClaimSet (samlAuthenticator As SamlSecurityTokenAuthenticator) As ClaimSet
Parameters
- samlAuthenticator
- SamlSecurityTokenAuthenticator
A SamlSecurityTokenAuthenticator that authenticates the portion of a SamlSecurityToken security token that corresponds to the <saml:Subject>
element.
Returns
A ClaimSet that contains the set of claims represented by this SamlSubject instance.
Exceptions
samlAuthenticator
is null
.
Remarks
Use the ExtractSubjectKeyClaimSet(SamlSecurityTokenAuthenticator) method to get a set of claims associated with the identity of a SamlSecurityToken security token.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om