コード例 #1
0
 public AuthorizationHelper(IMapper mapper, IConfiguration configuration, IFakeUserRepository userRepository)
 {
     Client         = new HttpClient();
     Mapper         = mapper;
     Configuration  = configuration;
     UserRepository = userRepository;
     Client.DefaultRequestHeaders.Add("CommunicationKey", Configuration["CommunicationKey:Key"]);
 }
コード例 #2
0
 public FormsSecurityManager(IFakeUserRepository usrRepository)
 {
     _usrRepository = usrRepository;
 }
コード例 #3
0
 public FormsSecurityManager(IFakeUserRepository usrRepository)
 {
     _usrRepository = usrRepository;
 }