Redigera

Dela via


SamlSubject.ExtractClaims Method

Definition

Gets a set of claims using the properties of this class.

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 represented by this SamlSubject instance.

Remarks

Use the ExtractClaims method to get a set of claims associated with the identity of a SamlSecurityToken security token.

Applies to