SamlAttribute.ExtractClaims 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 collection of claims that this SAML attribute represents.
public:
virtual System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Claims::Claim ^> ^ ExtractClaims();
public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Claims.Claim> ExtractClaims ();
abstract member ExtractClaims : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Claims.Claim>
override this.ExtractClaims : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Claims.Claim>
Public Overridable Function ExtractClaims () As ReadOnlyCollection(Of Claim)
Returns
A ReadOnlyCollection<T> of type Claim that contains the set of claims that this SAML attribute represents.
Remarks
SamlSecurityToken security tokens specify their claims using SAML assertions that can specify an attribute about the subject represented by the security token. Use the ExtractClaims method to convert the SAML attribute into a set of claims.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for