public LoginMastodonAccount(IMastodonClientRepository clientRepository, IRegisterClient registerClient, IShowAuthUrl showAuthUrl, IShowRegisterClientError showRegisterClientError) { _clientRepository = clientRepository; _registerClient = registerClient; _showAuthUrl = showAuthUrl; _showRegisterClientError = showRegisterClientError; }
public AddMisskeyAccount(IMisskeyAccountRepository accountRepository, IConnectionRepository connectionRepository, IRegisterClient registerClient, IGetAuthorizeUrl getAuthorizeUrl, IShowAuthUrl showAuthUrl, IWaitAuthorize waitAuthorize, IGetAccessToken getAccessToken, IMakeMisskeyConnection makeMisskeyConnection, IShowRegisterClientError showRegisterClientError, IShowAuthorizeError showAuthorizeError) { _accountRepository = accountRepository; _connectionRepository = connectionRepository; _registerClient = registerClient; _getAuthorizeUrl = getAuthorizeUrl; _showAuthUrl = showAuthUrl; _waitAuthorize = waitAuthorize; _getAccessToken = getAccessToken; _makeMisskeyConnection = makeMisskeyConnection; _showRegisterClientError = showRegisterClientError; _showAuthorizeError = showAuthorizeError; }