public ResourceRequestAuthorizer(IOAuthServiceLocator serviceLocator) { _consumerRepository = serviceLocator.ConsumerRepository; _resourceOwnerRepository = serviceLocator.ResourceOwnerRepository; _issuer = serviceLocator.Issuer; _configuration = serviceLocator.Configuration; }
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(); }
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) { }
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; }