public static AuthorizationPolicyBuilder RequireAllRolesWithAdmin(this AuthorizationPolicyBuilder builder, params string[] roles) { foreach (var role in roles) { builder.RequireRoleWithAdmin(role); } return(builder); }