All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.ui.security.oauth2.AuthenticationStrategy.scala Maven / Gradle / Ivy

The newest version!
package pl.touk.nussknacker.ui.security.oauth2

import pl.touk.nussknacker.ui.security.api.AuthenticatedUser
import scala.concurrent.{ExecutionContext, Future}

trait AuthenticationStrategy[ProfileResponse] {

  def authenticateUser(
      accessTokenData: IntrospectedAccessTokenData,
      getProfile: => Future[ProfileResponse]
  )(implicit ec: ExecutionContext): Future[AuthenticatedUser]

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy