public ClientCredentialsTokenGenerator( IAuthenticateClientService applicationService, IAccessTokenRepository accessTokenRepository, IJwtTokenFactory jwtTokenFactory) { _authenticateClientService = applicationService; _accessTokenRepository = accessTokenRepository; _jwtTokenFactory = jwtTokenFactory; }
public RefreshTokenGenerator( IAuthenticateClientService applicationService, IRefreshTokenRepository refreshTokenRepository, IAccessTokenRepository accessTokenRepository, IJwtTokenFactory jwtTokenFactory, IPasswordGenerator passwordGenerator, OAuth2Settings settings) { _authenticateClientService = applicationService; _refreshTokenRepository = refreshTokenRepository; _accessTokenRepository = accessTokenRepository; _jwtTokenFactory = jwtTokenFactory; _passwordGenerator = passwordGenerator; _settings = settings; }
public AuthorizationCodeTokenGenerator( IAuthenticateClientService authenticateClientService, IFindApplicationService applicationService, IRefreshTokenGenerator refreshTokenGenerator, IAuthorizationCodeRepository authorizationCodeRepository, IAccessTokenRepository accessTokenRepository, IRefreshTokenRepository refreshTokenRepository, IJwtTokenFactory jwtTokenFactory) { _authenticateClientService = authenticateClientService; _findApplicationService = applicationService; _refreshTokenGenerator = refreshTokenGenerator; _authorizationCodeRepository = authorizationCodeRepository; _accessTokenRepository = accessTokenRepository; _refreshTokenRepository = refreshTokenRepository; _jwtTokenFactory = jwtTokenFactory; }
public ApplicationController( SiteSettings siteSettings, IAddApplicationService addApplicationService, IAuthenticateClientService authenticateClientService, IDeleteApplicationService deleteApplicationService, IFindApplicationService findApplicationService, IGenerateClientSecretService generateClientSecretService, IGetApplicationsService getApplicationsService, IGetRolesService getRolesService, IUpdateApplicationService updateApplicationService) { _siteSettings = siteSettings; _addApplicationService = addApplicationService; _authenticateClientService = authenticateClientService; _deleteApplicationService = deleteApplicationService; _findApplicationService = findApplicationService; _generateClientSecretService = generateClientSecretService; _getApplicationsService = getApplicationsService; _getRolesService = getRolesService; _updateApplicationService = updateApplicationService; }