public PasswordFlow(IClientManager clientManager, IFlowResponses flowResponses, IUserCredentialValidator userCredentialValidator, IJwtGenerator jwtGenerator) { _clientManager = clientManager; _flowResponses = flowResponses; _userCredentialValidator = userCredentialValidator; _jwtGenerator = jwtGenerator; }
public ClientCredentialsFlow(IJwtGenerator jwtGenerator, IFlowResponses flowResponses, IClientManager clientManager) { _jwtGenerator = jwtGenerator; _flowResponses = flowResponses; _clientManager = clientManager; }
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; }