public OpenIDAccessTokenBuilder(IClaimsJwsPayloadEnricher claimsJwsPayloadEnricher, IGrantedTokenHelper grantedTokenHelper, IJwtBuilder jwtBuilder, IOptions <OAuthHostOptions> options) : base(grantedTokenHelper, jwtBuilder, options) { _claimsJwsPayloadEnricher = claimsJwsPayloadEnricher; }
public GetTokenByAuthorizationCodeGrantTypeAction( IClientValidator clientValidator, IAuthorizationCodeStore authorizationCodeStore, IConfigurationService configurationService, IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, IAuthenticateClient authenticateClient, IClientHelper clientHelper, ISimpleIdentityServerEventSource simpleIdentityServerEventSource, IAuthenticateInstructionGenerator authenticateInstructionGenerator, ITokenStore tokenStore, IGrantedTokenHelper grantedTokenHelper, IJwtGenerator jwtGenerator) { _clientValidator = clientValidator; _authorizationCodeStore = authorizationCodeStore; _configurationService = configurationService; _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _authenticateClient = authenticateClient; _clientHelper = clientHelper; _simpleIdentityServerEventSource = simpleIdentityServerEventSource; _authenticateInstructionGenerator = authenticateInstructionGenerator; _tokenStore = tokenStore; _grantedTokenHelper = grantedTokenHelper; _jwtGenerator = jwtGenerator; }
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 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 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 GetTokenByResourceOwnerCredentialsGrantTypeAction( IGrantedTokenRepository grantedTokenRepository, IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, IScopeValidator scopeValidator, IAuthenticateResourceOwnerService authenticateResourceOwnerService, ISimpleIdentityServerEventSource simpleIdentityServerEventSource, IAuthenticateClient authenticateClient, IJwtGenerator jwtGenerator, IAuthenticateInstructionGenerator authenticateInstructionGenerator, IClientRepository clientRepository, IClientHelper clientHelper, IGrantedTokenHelper grantedTokenHelper) { _grantedTokenRepository = grantedTokenRepository; _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _scopeValidator = scopeValidator; _authenticateResourceOwnerService = authenticateResourceOwnerService; _simpleIdentityServerEventSource = simpleIdentityServerEventSource; _authenticateClient = authenticateClient; _jwtGenerator = jwtGenerator; _authenticateInstructionGenerator = authenticateInstructionGenerator; _clientRepository = clientRepository; _clientHelper = clientHelper; _grantedTokenHelper = grantedTokenHelper; }
public AuthorizationCodeHandler(IAuthorizationCodeGrantTypeValidator authorizationCodeGrantTypeValidator, IGrantedTokenHelper grantedTokenHelper, IEnumerable <ITokenProfile> tokenProfiles, IEnumerable <ITokenBuilder> tokenBuilders, IClientAuthenticationHelper clientAuthenticationHelper) : base(clientAuthenticationHelper) { _authorizationCodeGrantTypeValidator = authorizationCodeGrantTypeValidator; _grantedTokenHelper = grantedTokenHelper; _tokenProfiles = tokenProfiles; _tokenBuilders = tokenBuilders; }
private void InitializeFakeObjects() { _grantedTokenRepositoryStub = new Mock <ITokenStore>(); _grantedTokenValidatorStub = new Mock <IGrantedTokenValidator>(); _grantedTokenHelper = new GrantedTokenHelper( _grantedTokenRepositoryStub.Object, _grantedTokenValidatorStub.Object); }
public DeleteOAuthClientHandler(IGrantedTokenHelper grantedTokenHelper, ITokenRepository tokenQueryRepository, IOAuthClientRepository oAuthClientRepository, ILogger <BaseOAuthClientHandler> logger) : base(oAuthClientRepository, logger) { _grantedTokenHelper = grantedTokenHelper; _tokenRepository = tokenQueryRepository; }
public OpenBankingApiAccessTokenBuilder( IGrantedTokenHelper grantedTokenHelper, IJwtBuilder jwtBuilder, IOptions <OAuthHostOptions> options, IOpenBankingApiAuthRequestEnricher openBankingApiAuthRequestEnricher) : base(grantedTokenHelper, jwtBuilder, options) { _openBankingApiAuthRequestEnricher = openBankingApiAuthRequestEnricher; }
public RefreshTokenHandler(IRefreshTokenGrantTypeValidator refreshTokenGrantTypeValidator, IGrantedTokenHelper grantedTokenHelper, IEnumerable <ITokenProfile> tokenProfiles, IEnumerable <ITokenBuilder> tokenBuilders, IClientAuthenticationHelper clientAuthenticationHelper, IOAuthUserQueryRepository oauthUserQueryRepository) : base(clientAuthenticationHelper) { _refreshTokenGrantTypeValidator = refreshTokenGrantTypeValidator; _grantedTokenHelper = grantedTokenHelper; _tokenProfiles = tokenProfiles; _tokenBuilders = tokenBuilders; _oauthUserRepository = oauthUserQueryRepository; }
public RevokeTokenRequestHandler( IRevokeTokenValidator revokeTokenValidator, IGrantedTokenHelper grantedTokenHelper, IClientAuthenticationHelper clientAuthenticationHelper, ILogger <RevokeTokenRequestHandler> logger) { _revokeTokenValidator = revokeTokenValidator; _grantedTokenHelper = grantedTokenHelper; _clientAuthenticationHelper = clientAuthenticationHelper; _logger = logger; }
public RefreshTokenHandler( IRefreshTokenGrantTypeValidator refreshTokenGrantTypeValidator, IGrantedTokenHelper grantedTokenHelper, IEnumerable <ITokenProfile> tokenProfiles, IEnumerable <ITokenBuilder> tokenBuilders, IClientAuthenticationHelper clientAuthenticationHelper, ILogger <RefreshTokenHandler> logger) : base(clientAuthenticationHelper) { _refreshTokenGrantTypeValidator = refreshTokenGrantTypeValidator; _grantedTokenHelper = grantedTokenHelper; _tokenProfiles = tokenProfiles; _tokenBuilders = tokenBuilders; _logger = logger; }
public GetTokenByClientCredentialsGrantTypeAction( IAuthenticateInstructionGenerator authenticateInstructionGenerator, IAuthenticateClient authenticateClient, IClientValidator clientValidator, IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, IScopeValidator scopeValidator, IGrantedTokenRepository grantedTokenRepository, ISimpleIdentityServerEventSource simpleIdentityServerEventSource, IClientCredentialsGrantTypeParameterValidator clientCredentialsGrantTypeParameterValidator, IClientHelper clientHelper, IGrantedTokenHelper grantedTokenHelper) { _authenticateInstructionGenerator = authenticateInstructionGenerator; _authenticateClient = authenticateClient; _clientValidator = clientValidator; _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _scopeValidator = scopeValidator; _grantedTokenRepository = grantedTokenRepository; _simpleIdentityServerEventSource = simpleIdentityServerEventSource; _clientCredentialsGrantTypeParameterValidator = clientCredentialsGrantTypeParameterValidator; _clientHelper = clientHelper; _grantedTokenHelper = grantedTokenHelper; }
public GenerateAuthorizationResponse( IAuthorizationCodeStore authorizationCodeStore, ITokenStore tokenStore, IParameterParserHelper parameterParserHelper, IJwtGenerator jwtGenerator, IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, IConsentHelper consentHelper, ISimpleIdentityServerEventSource simpleIdentityServerEventSource, IAuthorizationFlowHelper authorizationFlowHelper, IClientHelper clientHelper, IGrantedTokenHelper grantedTokenHelper) { _authorizationCodeStore = authorizationCodeStore; _tokenStore = tokenStore; _parameterParserHelper = parameterParserHelper; _jwtGenerator = jwtGenerator; _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _consentHelper = consentHelper; _simpleIdentityServerEventSource = simpleIdentityServerEventSource; _authorizationFlowHelper = authorizationFlowHelper; _clientHelper = clientHelper; _grantedTokenHelper = grantedTokenHelper; }
public GetTokenByAuthorizationCodeGrantTypeAction( IClientValidator clientValidator, IAuthorizationCodeRepository authorizationCodeRepository, IConfigurationService configurationService, IGrantedTokenGeneratorHelper grantedTokenGeneratorHelper, IGrantedTokenRepository grantedTokenRepository, IAuthenticateClient authenticateClient, IClientHelper clientHelper, ISimpleIdentityServerEventSource simpleIdentityServerEventSource, IAuthenticateInstructionGenerator authenticateInstructionGenerator, IGrantedTokenHelper grantedTokenHelper) { _clientValidator = clientValidator; _authorizationCodeRepository = authorizationCodeRepository; _configurationService = configurationService; _grantedTokenGeneratorHelper = grantedTokenGeneratorHelper; _grantedTokenRepository = grantedTokenRepository; _authenticateClient = authenticateClient; _clientHelper = clientHelper; _simpleIdentityServerEventSource = simpleIdentityServerEventSource; _authenticateInstructionGenerator = authenticateInstructionGenerator; _grantedTokenHelper = grantedTokenHelper; }
public RefreshTokenBuilder(IGrantedTokenHelper grantedTokenHelper) { _grantedTokenHelper = grantedTokenHelper; }
public AuthorizationCodeResponseTypeHandler(IGrantedTokenHelper grantedTokenHelper, IEnumerable <ICodeChallengeMethodHandler> codeChallengeMethodHandlers, IOptions <OAuthHostOptions> options) { _grantedTokenHelper = grantedTokenHelper; _codeChallengeMethodHandlers = codeChallengeMethodHandlers; _options = options.Value; }
public AccessTokenBuilder(IGrantedTokenHelper grantedTokenHelper, IJwtBuilder jwtBuilder) { _grantedTokenHelper = grantedTokenHelper; _jwtBuilder = jwtBuilder; }
public OpenIDAccessTokenBuilder(IGrantedTokenHelper grantedTokenHelper, IJwtBuilder jwtBuilder, IOptions <OAuthHostOptions> options) : base(grantedTokenHelper, jwtBuilder, options) { }
public AuthorizationCodeResponseTypeHandler(IGrantedTokenHelper grantedTokenHelper, IEnumerable <ITokenBuilder> tokenBuilders) { _grantedTokenHelper = grantedTokenHelper; _tokenBuilders = tokenBuilders; }
public OpenIDRefreshTokenBuilder(IGrantedTokenHelper grantedTokenHelper) : base(grantedTokenHelper) { }
public OpenIDAccessTokenBuilder(IGrantedTokenHelper grantedTokenHelper, IJwtBuilder jwtBuilder) : base(grantedTokenHelper, jwtBuilder) { }
public OAuthPKCEAuthenticationHandler(IGrantedTokenHelper grantedTokenHelper, IEnumerable <ICodeChallengeMethodHandler> codeChallengeMethodHandlers) { _grantedTokenHelper = grantedTokenHelper; _codeChallengeMethodHandlers = codeChallengeMethodHandlers; }
public AuthorizationCodeResponseTypeHandler(IGrantedTokenHelper grantedTokenHelper, IEnumerable <ITokenBuilder> tokenBuilders, IOptions <OAuthHostOptions> options) { _grantedTokenHelper = grantedTokenHelper; _tokenBuilders = tokenBuilders; _options = options.Value; }
public AuthorizationCodeResponseTypeHandler(IGrantedTokenHelper grantedTokenHelper, IEnumerable <ICodeChallengeMethodHandler> codeChallengeMethodHandlers) { _grantedTokenHelper = grantedTokenHelper; _codeChallengeMethodHandlers = codeChallengeMethodHandlers; }
public AccessTokenBuilder(IGrantedTokenHelper grantedTokenHelper, IJwtBuilder jwtBuilder, IOptions <OAuthHostOptions> options) { _grantedTokenHelper = grantedTokenHelper; _jwtBuilder = jwtBuilder; _oauthHostOptions = options.Value; }