Ejemplo n.º 1
0
 public AuthorizeController(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     UserStore userStore,
     IJsonWebTokenGenerationService jsonWebTokenGenerationService,
     IMessageBroker messageBroker,
     IOptions <VkontakteOptions> options
     )
 {
     _vkontakteOptions = options.Value;
     _userManager      = userManager;
     _signInManager    = signInManager;
     _userStore        = userStore;
     _jsonWebTokenGenerationService = jsonWebTokenGenerationService;
     _messageBroker = messageBroker;
 }
 public SystemTokenGenerationService(IJsonWebTokenGenerationService jsonWebTokenGenerationService)
 {
     _jsonWebTokenGenerationService = jsonWebTokenGenerationService;
 }