แก้ไข

แชร์ผ่าน


SamlAttribute.ExtractClaims Method

Definition

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