Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Büßemeyer authored and Michael Büßemeyer committed Dec 10, 2024
1 parent 4a56a33 commit 61c0a88
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions app/controllers/AuthenticationController.scala
Original file line number Diff line number Diff line change
@@ -1,42 +1,29 @@
package controllers

import org.apache.pekko.actor.ActorSystem
import play.silhouette.api.actions.SecuredRequest
import play.silhouette.api.exceptions.ProviderException
import play.silhouette.api.services.AuthenticatorResult
import play.silhouette.api.util.{Credentials, PasswordInfo}
import play.silhouette.api.{LoginInfo, Silhouette}
import play.silhouette.impl.providers.CredentialsProvider
import com.scalableminds.util.accesscontext.{AuthorizedAccessContext, DBAccessContext, GlobalAccessContext}
import com.scalableminds.util.accesscontext.{DBAccessContext, GlobalAccessContext}
import com.scalableminds.util.objectid.ObjectId
import com.scalableminds.util.tools.{Fox, FoxImplicits, TextUtils}
import mail.{DefaultMails, MailchimpClient, MailchimpTag, Send}
import models.analytics.{AnalyticsService, InviteEvent, JoinOrganizationEvent, SignupEvent}
import models.annotation.AnnotationState.Cancelled
import models.annotation.{AnnotationDAO, AnnotationIdentifier, AnnotationInformationProvider}
import models.dataset.DatasetDAO
import models.organization.{Organization, OrganizationDAO, OrganizationService}
import models.user._
import models.voxelytics.VoxelyticsDAO
import net.liftweb.common.{Box, Empty, Failure, Full}
import org.apache.commons.codec.binary.Base64
import org.apache.commons.codec.digest.{HmacAlgorithms, HmacUtils}
import org.apache.pekko.actor.ActorSystem
import play.api.data.Form
import play.api.data.Forms._
import play.api.data.validation.Constraints._
import play.api.i18n.{Messages, MessagesProvider}
import play.api.libs.json._
import play.api.mvc.{Action, AnyContent, Cookie, PlayBodyParsers, Request, Result}
import security.{
AuthenticationService,
CombinedAuthenticator,
OpenIdConnectClient,
OpenIdConnectUserInfo,
PasswordHasher,
TokenType,
WkEnv,
WkSilhouetteEnvironment
}
import play.api.mvc._
import play.silhouette.api.actions.SecuredRequest
import play.silhouette.api.exceptions.ProviderException
import play.silhouette.api.services.AuthenticatorResult
import play.silhouette.api.util.{Credentials, PasswordInfo}
import play.silhouette.api.{LoginInfo, Silhouette}
import play.silhouette.impl.providers.CredentialsProvider
import security._
import utils.WkConf

import java.net.URLEncoder
Expand All @@ -50,7 +37,6 @@ class AuthenticationController @Inject()(
credentialsProvider: CredentialsProvider,
passwordHasher: PasswordHasher,
userService: UserService,
annotationProvider: AnnotationInformationProvider,
authenticationService: AuthenticationService,
organizationService: OrganizationService,
inviteService: InviteService,
Expand All @@ -59,12 +45,9 @@ class AuthenticationController @Inject()(
organizationDAO: OrganizationDAO,
analyticsService: AnalyticsService,
userDAO: UserDAO,
datasetDAO: DatasetDAO,
multiUserDAO: MultiUserDAO,
defaultMails: DefaultMails,
conf: WkConf,
annotationDAO: AnnotationDAO,
voxelyticsDAO: VoxelyticsDAO,
wkSilhouetteEnvironment: WkSilhouetteEnvironment,
openIdConnectClient: OpenIdConnectClient,
initialDataService: InitialDataService,
Expand Down

0 comments on commit 61c0a88

Please sign in to comment.