Method RolesMatch(ClaimsPrincipal, string?)
True when the principal's role claims equal the ladder expansion of role.
public static bool RolesMatch(ClaimsPrincipal principal, string? role)
True when the principal's role claims equal the ladder expansion of role.
public static bool RolesMatch(ClaimsPrincipal principal, string? role)