Files
mono/mcs/class/System/ReferenceSources/DynamicRoleClaimProvider.cs
Steve Pfister a49d5df03f These changes help prep for refsrc System.Web
* DynamicRoleClaimProvider to help with legacy role management in web forms
* Added AppDomainManagerAssembly, AppDomainManagerType, and PartialTrustVisibleAssemblies
  properties to AppDomainSetup. They don't do anything, but having  them there
  helps lessen the amount of change in refsrc System.Web.
2019-03-11 09:11:16 +01:00

21 lines
723 B
C#

//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
using System.Collections.Generic;
using System.ComponentModel;
namespace System.Security.Claims
{
public static class DynamicRoleClaimProvider
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use ClaimsAuthenticationManager to add claims to a ClaimsIdentity", true)]
public static void AddDynamicRoleClaims(ClaimsIdentity claimsIdentity, IEnumerable<Claim> claims)
{
claimsIdentity.ExternalClaims.Add(claims);
}
}
}