Method RolesMatch(ClaimsPrincipal, string?)

Assembly: redb.Tsak.Web.dll

True when the principal's role claims equal the ladder expansion of role.

public static bool RolesMatch(ClaimsPrincipal principal, string? role)