IdentityExtensions.Get Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Get(ClaimsIdentity, String[])

Get the first claim with any of the specified type(s), otherwise null.

public static Claim Get(this ClaimsIdentity identity, params string[] claimTypes)

Parameters

identity
System.Security.Claims.ClaimsIdentity
claimTypes
System.String[]

Returns

System.Security.Claims.Claim