public GetTokenByClientCredentialsGrantTypeAction( IAuthenticateInstructionGenerator authenticateInstructionGenerator, IAuthenticateClient authenticateClient, IClientValidator clientValidator, IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, IScopeValidator scopeValidator, IOAuthEventSource oauthEventSource, IClientCredentialsGrantTypeParameterValidator clientCredentialsGrantTypeParameterValidator, IClientHelper clientHelper, IJwtGenerator jwtGenerator, ITokenStore tokenStore, IGrantedTokenHelper grantedTokenHelper) { _authenticateInstructionGenerator = authenticateInstructionGenerator; _authenticateClient = authenticateClient; _clientValidator = clientValidator; _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _scopeValidator = scopeValidator; _oauthEventSource = oauthEventSource; _clientCredentialsGrantTypeParameterValidator = clientCredentialsGrantTypeParameterValidator; _clientHelper = clientHelper; _jwtGenerator = jwtGenerator; _tokenStore = tokenStore; _grantedTokenHelper = grantedTokenHelper; }
public GetTokenByAuthorizationCodeGrantTypeAction( IClientValidator clientValidator, IAuthorizationCodeStore authorizationCodeStore, IConfigurationService configurationService, IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, IAuthenticateClient authenticateClient, IClientHelper clientHelper, IOAuthEventSource oauthEventSource, IAuthenticateInstructionGenerator authenticateInstructionGenerator, ITokenStore tokenStore, IGrantedTokenHelper grantedTokenHelper, IJwtGenerator jwtGenerator) { _clientValidator = clientValidator; _authorizationCodeStore = authorizationCodeStore; _configurationService = configurationService; _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _authenticateClient = authenticateClient; _clientHelper = clientHelper; _oauthEventSource = oauthEventSource; _authenticateInstructionGenerator = authenticateInstructionGenerator; _tokenStore = tokenStore; _grantedTokenHelper = grantedTokenHelper; _jwtGenerator = jwtGenerator; }
public TokenActions( IGetTokenByResourceOwnerCredentialsGrantTypeAction getTokenByResourceOwnerCredentialsGrantType, IGetTokenByAuthorizationCodeGrantTypeAction getTokenByAuthorizationCodeGrantTypeAction, IResourceOwnerGrantTypeParameterValidator resourceOwnerGrantTypeParameterValidator, IAuthorizationCodeGrantTypeParameterTokenEdpValidator authorizationCodeGrantTypeParameterTokenEdpValidator, IRefreshTokenGrantTypeParameterValidator refreshTokenGrantTypeParameterValidator, IGetTokenByRefreshTokenGrantTypeAction getTokenByRefreshTokenGrantTypeAction, IGetTokenByClientCredentialsGrantTypeAction getTokenByClientCredentialsGrantTypeAction, IClientCredentialsGrantTypeParameterValidator clientCredentialsGrantTypeParameterValidator, IRevokeTokenParameterValidator revokeTokenParameterValidator, IOAuthEventSource oauthEventSource, IRevokeTokenAction revokeTokenAction, IEventPublisher eventPublisher, IPayloadSerializer payloadSerializer) { _getTokenByResourceOwnerCredentialsGrantType = getTokenByResourceOwnerCredentialsGrantType; _getTokenByAuthorizationCodeGrantTypeAction = getTokenByAuthorizationCodeGrantTypeAction; _resourceOwnerGrantTypeParameterValidator = resourceOwnerGrantTypeParameterValidator; _authorizationCodeGrantTypeParameterTokenEdpValidator = authorizationCodeGrantTypeParameterTokenEdpValidator; _refreshTokenGrantTypeParameterValidator = refreshTokenGrantTypeParameterValidator; _getTokenByRefreshTokenGrantTypeAction = getTokenByRefreshTokenGrantTypeAction; _oauthEventSource = oauthEventSource; _getTokenByClientCredentialsGrantTypeAction = getTokenByClientCredentialsGrantTypeAction; _clientCredentialsGrantTypeParameterValidator = clientCredentialsGrantTypeParameterValidator; _revokeTokenParameterValidator = revokeTokenParameterValidator; _revokeTokenAction = revokeTokenAction; _eventPublisher = eventPublisher; _payloadSerializer = payloadSerializer; }
public GetTokenByResourceOwnerCredentialsGrantTypeAction( IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, IScopeValidator scopeValidator, IResourceOwnerAuthenticateHelper resourceOwnerAuthenticateHelper, IOAuthEventSource oauthEventSource, IAuthenticateClient authenticateClient, IJwtGenerator jwtGenerator, IAuthenticateInstructionGenerator authenticateInstructionGenerator, IClientRepository clientRepository, IClientHelper clientHelper, ITokenStore tokenStore, IGrantedTokenHelper grantedTokenHelper) { _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _scopeValidator = scopeValidator; _resourceOwnerAuthenticateHelper = resourceOwnerAuthenticateHelper; _oauthEventSource = oauthEventSource; _authenticateClient = authenticateClient; _jwtGenerator = jwtGenerator; _authenticateInstructionGenerator = authenticateInstructionGenerator; _clientRepository = clientRepository; _clientHelper = clientHelper; _tokenStore = tokenStore; _grantedTokenHelper = grantedTokenHelper; }
public AuthorizationActions( IGetAuthorizationCodeOperation getAuthorizationCodeOperation, IGetTokenViaImplicitWorkflowOperation getTokenViaImplicitWorkflowOperation, IGetAuthorizationCodeAndTokenViaHybridWorkflowOperation getAuthorizationCodeAndTokenViaHybridWorkflowOperation, IAuthorizationCodeGrantTypeParameterAuthEdpValidator authorizationCodeGrantTypeParameterValidator, IParameterParserHelper parameterParserHelper, IOAuthEventSource oauthEventSource, IAuthorizationFlowHelper authorizationFlowHelper, IEventPublisher eventPublisher, IPayloadSerializer payloadSerializer, IAmrHelper amrHelper, IResourceOwnerAuthenticateHelper resourceOwnerAuthenticateHelper) { _getAuthorizationCodeOperation = getAuthorizationCodeOperation; _getTokenViaImplicitWorkflowOperation = getTokenViaImplicitWorkflowOperation; _getAuthorizationCodeAndTokenViaHybridWorkflowOperation = getAuthorizationCodeAndTokenViaHybridWorkflowOperation; _authorizationCodeGrantTypeParameterValidator = authorizationCodeGrantTypeParameterValidator; _parameterParserHelper = parameterParserHelper; _oauthEventSource = oauthEventSource; _authorizationFlowHelper = authorizationFlowHelper; _eventPublisher = eventPublisher; _payloadSerializer = payloadSerializer; _amrHelper = amrHelper; _resourceOwnerAuthenticateHelper = resourceOwnerAuthenticateHelper; }
public GenerateAuthorizationResponse( IAuthorizationCodeStore authorizationCodeStore, ITokenStore tokenStore, IParameterParserHelper parameterParserHelper, IJwtGenerator jwtGenerator, IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, IConsentHelper consentHelper, IOAuthEventSource oauthEventSource, IAuthorizationFlowHelper authorizationFlowHelper, IClientHelper clientHelper, IGrantedTokenHelper grantedTokenHelper, IResourceOwnerRepository resourceOwnerRepository) { _authorizationCodeStore = authorizationCodeStore; _tokenStore = tokenStore; _parameterParserHelper = parameterParserHelper; _jwtGenerator = jwtGenerator; _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _consentHelper = consentHelper; _oauthEventSource = oauthEventSource; _authorizationFlowHelper = authorizationFlowHelper; _clientHelper = clientHelper; _grantedTokenHelper = grantedTokenHelper; _resourceOwnerRepository = resourceOwnerRepository; }
public RegisterClientAction(IOAuthEventSource oauthEventSource, IClientRepository clientRepository, IGenerateClientFromRegistrationRequest generateClientFromRegistrationRequest, IClientPasswordService clientPasswordService, IClientInfoService clientInfoService) { _oauthEventSource = oauthEventSource; _clientRepository = clientRepository; _generateClientFromRegistrationRequest = generateClientFromRegistrationRequest; _clientPasswordService = clientPasswordService; _clientInfoService = clientInfoService; }
public PostIntrospectionAction( IOAuthEventSource oauthEventSource, IAuthenticateClient authenticateClient, IIntrospectionParameterValidator introspectionParameterValidator, ITokenStore tokenStore) { _oauthEventSource = oauthEventSource; _authenticateClient = authenticateClient; _introspectionParameterValidator = introspectionParameterValidator; _tokenStore = tokenStore; }
public GetTokenViaImplicitWorkflowOperation( IProcessAuthorizationRequest processAuthorizationRequest, IGenerateAuthorizationResponse generateAuthorizationResponse, IClientValidator clientValidator, IOAuthEventSource oAuthEventSource) { _processAuthorizationRequest = processAuthorizationRequest; _generateAuthorizationResponse = generateAuthorizationResponse; _oAuthEventSource = oAuthEventSource; _clientValidator = clientValidator; }
public RegisterClientAction( IOAuthEventSource oauthEventSource, IClientRepository clientRepository, IGenerateClientFromRegistrationRequest generateClientFromRegistrationRequest, IClientPasswordService encryptedPasswordFactory) { _oauthEventSource = oauthEventSource; _clientRepository = clientRepository; _generateClientFromRegistrationRequest = generateClientFromRegistrationRequest; _encryptedPasswordFactory = encryptedPasswordFactory; }
public GetAuthorizationCodeOperation( IProcessAuthorizationRequest processAuthorizationRequest, IClientValidator clientValidator, IGenerateAuthorizationResponse generateAuthorizationResponse, IOAuthEventSource oAuthEventSource) { _processAuthorizationRequest = processAuthorizationRequest; _clientValidator = clientValidator; _generateAuthorizationResponse = generateAuthorizationResponse; _oAuthEventSource = oAuthEventSource; }
public GetAuthorizationCodeAndTokenViaHybridWorkflowOperation( IOAuthEventSource oauthEventSource, IProcessAuthorizationRequest processAuthorizationRequest, IClientValidator clientValidator, IGenerateAuthorizationResponse generateAuthorizationResponse) { _oauthEventSource = oauthEventSource; _processAuthorizationRequest = processAuthorizationRequest; _clientValidator = clientValidator; _generateAuthorizationResponse = generateAuthorizationResponse; }
public AuthenticateClient( IClientSecretBasicAuthentication clientSecretBasicAuthentication, IClientSecretPostAuthentication clientSecretPostAuthentication, IClientAssertionAuthentication clientAssertionAuthentication, IClientTlsAuthentication clientTlsAuthentication, IClientRepository clientRepository, IOAuthEventSource oAuthEventSource) { _clientSecretBasicAuthentication = clientSecretBasicAuthentication; _clientSecretPostAuthentication = clientSecretPostAuthentication; _clientAssertionAuthentication = clientAssertionAuthentication; _clientTlsAuthentication = clientTlsAuthentication; _clientRepository = clientRepository; _oauthEventSource = oAuthEventSource; }
public GetTokenByRefreshTokenGrantTypeAction( IClientHelper clientHelper, IOAuthEventSource oauthEventSource, IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, ITokenStore tokenStore, IJwtGenerator jwtGenerator, IAuthenticateInstructionGenerator authenticateInstructionGenerator, IAuthenticateClient authenticateClient) { _clientHelper = clientHelper; _oauthEventSource = oauthEventSource; _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _tokenStore = tokenStore; _jwtGenerator = jwtGenerator; _authenticateInstructionGenerator = authenticateInstructionGenerator; _authenticateClient = authenticateClient; }
public ProcessAuthorizationRequest( IParameterParserHelper parameterParserHelper, IClientValidator clientValidator, IScopeValidator scopeValidator, IActionResultFactory actionResultFactory, IConsentHelper consentHelper, IJwtParser jwtParser, IConfigurationService configurationService, IOAuthEventSource oauthEventSource) { _parameterParserHelper = parameterParserHelper; _clientValidator = clientValidator; _scopeValidator = scopeValidator; _actionResultFactory = actionResultFactory; _consentHelper = consentHelper; _jwtParser = jwtParser; _configurationService = configurationService; _oauthEventSource = oauthEventSource; }