public AuthorizationCodeFlow(IClientManager clientManager,
                              IAuthorizationCodeValidator authorizationCodeValidator,
                              IClientGrantManager clientGrantManager,
                              IFlowResponses flowResponses)
 {
     _clientManager = clientManager;
     _authorizationCodeValidator = authorizationCodeValidator;
     _clientGrantManager         = clientGrantManager;
     _flowResponses = flowResponses;
 }
示例#2
0
 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;
 }