public AuthorizationCodeFlow(IClientManager clientManager, IAuthorizationCodeValidator authorizationCodeValidator, IClientGrantManager clientGrantManager, IFlowResponses flowResponses) { _clientManager = clientManager; _authorizationCodeValidator = authorizationCodeValidator; _clientGrantManager = clientGrantManager; _flowResponses = flowResponses; }
public OAuthController(IClientManager clientManager, IReadOnlyDictionary <string, ITokenFlow> tokenFlowsByGrantTypes, IFlowResponses flowResponses, IClientGrantManager clientGrantManager, IReadOnlyDictionary <AuthorizationFlowType, IGrantFlow> authFlowDictionary) { _clientManager = clientManager; _tokenFlowsByGrantTypes = tokenFlowsByGrantTypes; _flowResponses = flowResponses; _clientGrantManager = clientGrantManager; _authFlowDictionary = authFlowDictionary; }