TokenValidationParameters.RoleClaimTypeRetriever Property


Gets or sets a delegate that will be called to obtain the RoleClaimType to use when creating a ClaimsIdentity after validating a token.

public Func<Microsoft.IdentityModel.Tokens.SecurityToken,string,string> RoleClaimTypeRetriever { get; set; }
member this.RoleClaimTypeRetriever : Func<Microsoft.IdentityModel.Tokens.SecurityToken, string, string> with get, set
Public Property RoleClaimTypeRetriever As Func(Of SecurityToken, String, String)

Property Value


Applies to