Ejemplo n.º 1
0
 public PasswordFlow(IClientManager clientManager, IFlowResponses flowResponses,
                     IUserCredentialValidator userCredentialValidator, IJwtGenerator jwtGenerator)
 {
     _clientManager           = clientManager;
     _flowResponses           = flowResponses;
     _userCredentialValidator = userCredentialValidator;
     _jwtGenerator            = jwtGenerator;
 }
Ejemplo n.º 2
0
 public ClientCredentialsFlow(IJwtGenerator jwtGenerator,
                              IFlowResponses flowResponses,
                              IClientManager clientManager)
 {
     _jwtGenerator  = jwtGenerator;
     _flowResponses = flowResponses;
     _clientManager = clientManager;
 }
Ejemplo n.º 3
0
 public AuthorizationCodeFlow(IClientManager clientManager,
                              IAuthorizationCodeValidator authorizationCodeValidator,
                              IClientGrantManager clientGrantManager,
                              IFlowResponses flowResponses)
 {
     _clientManager = clientManager;
     _authorizationCodeValidator = authorizationCodeValidator;
     _clientGrantManager         = clientGrantManager;
     _flowResponses = flowResponses;
 }
Ejemplo n.º 4
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;
 }