示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PartiesController"/> class.
 /// </summary>
 /// <param name="partiesWrapper">The parties wrapper used as a client when calling SBL Bridge.</param>
 /// <param name="authorizationWrapper">The authorization wrapper</param>
 public PartiesController(IParties partiesWrapper, IAuthorization authorizationWrapper)
 {
     _partiesWrapper = partiesWrapper;
     _authorization  = authorizationWrapper;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PartiesController"/> class
 /// </summary>
 /// <param name="partiesWrapper">The parties wrapper</param>
 public PartiesController(IParties partiesWrapper)
 {
     _partiesWrapper = partiesWrapper;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DelegationContextHandler"/> class
 /// </summary>
 /// <param name="policyInformationRepository">the policy information repository handler</param>
 /// <param name="rolesWrapper">the roles handler</param>
 /// <param name="partiesWrapper">the party information handler</param>
 /// <param name="memoryCache">The cache handler </param>
 /// <param name="settings">The app settings</param>
 public DelegationContextHandler(IInstanceMetadataRepository policyInformationRepository, IRoles rolesWrapper, IParties partiesWrapper, IMemoryCache memoryCache, IOptions <GeneralSettings> settings)
     : base(policyInformationRepository, rolesWrapper, partiesWrapper, memoryCache, settings)
 {
 }