public ResourceRequestAuthorizer(IOAuthServiceLocator serviceLocator)
 {
     _consumerRepository = serviceLocator.ConsumerRepository;
     _resourceOwnerRepository = serviceLocator.ResourceOwnerRepository;
     _issuer = serviceLocator.Issuer;
     _configuration = serviceLocator.Configuration;
 }
Esempio n. 2
0
 public ResourceRequestAuthorizer(IOAuthServiceLocator serviceLocator)
 {
     _consumerRepository      = serviceLocator.ConsumerRepository;
     _resourceOwnerRepository = serviceLocator.ResourceOwnerRepository;
     _issuer        = serviceLocator.Issuer;
     _configuration = serviceLocator.Configuration;
 }
Esempio n. 3
0
        protected OAuthRequestBase(IRequest request, IOAuthServiceLocator serviceLocator)
        {
            if (request == null)
                throw new ArgumentNullException("request");

            if (serviceLocator == null)
                throw new ArgumentNullException("serviceLocator");

            _request = request;
            ServiceLocator = serviceLocator;

            Validate();
        }
Esempio n. 4
0
        protected OAuthRequestBase(IRequest request, IOAuthServiceLocator serviceLocator)
        {
            if (request == null)
            {
                throw new ArgumentNullException("request");
            }

            if (serviceLocator == null)
            {
                throw new ArgumentNullException("serviceLocator");
            }

            _request       = request;
            ServiceLocator = serviceLocator;

            Validate();
        }
 public SecureController()
 {
     _serviceLocator = MvcApplication.ServiceLocator;
 }
 public ResourceRequest(IRequest request, IOAuthServiceLocator serviceLocator) : base(request, serviceLocator)
 {
 }
Esempio n. 7
0
 public AuthorizationRequest(IRequest request, IOAuthServiceLocator serviceLocator) : base(request, serviceLocator)
 {
 }
 public PasswordTokenRequestAuthorizer(IOAuthServiceLocator serviceLocator)
 {
     _serviceLocator = serviceLocator;
 }
 public TokenRequest(IRequest request, IOAuthServiceLocator serviceLocator) : base(request, serviceLocator)
 {
 }
 public ClientCredentialsTokenRequestAuthorizer(IOAuthServiceLocator serviceLocator)
 {
     _serviceLocator = serviceLocator;
 }
Esempio n. 11
0
 public TokenRequest(IRequest request, IOAuthServiceLocator serviceLocator)
     : base(request, serviceLocator)
 {
 }
 public AuthorizationRequest(IRequest request, IOAuthServiceLocator serviceLocator)
     : base(request, serviceLocator)
 {
 }
Esempio n. 13
0
 public ResourceRequest(IRequest request, IOAuthServiceLocator serviceLocator)
     : base(request, serviceLocator)
 {
 }
 public SecureController()
 {
     _serviceLocator = MvcApplication.ServiceLocator;
 }
 public PasswordTokenRequestAuthorizer(IOAuthServiceLocator serviceLocator)
 {
     _serviceLocator = serviceLocator;
 }
 public ClientCredentialsTokenRequestAuthorizer(IOAuthServiceLocator serviceLocator)
 {
     _serviceLocator = serviceLocator;
 }