Esempio n. 1
0
 public BearerAuthorizeFilter(/*IAuthCodeGrantRepository authCodeGrantRepository*/)
 {
     _authCodeGrantRepository = new AuthCodeGrantRepository(new DataContext());
 }
Esempio n. 2
0
 public OAuthController(CryptographicService cryptographicService, IConfigRepository configRepository, IAuthCodeGrantRepository accessTokenRepository)
 {
     _accessTokenRepository = accessTokenRepository;
     _config        = configRepository.GetConfig();
     _cryptoService = cryptographicService;
 }