Class/Object

securesocial.core.providers

UsernamePasswordProvider

Related Docs: object UsernamePasswordProvider | package providers

Permalink

class UsernamePasswordProvider[U] extends IdentityProvider with ApiSupport with I18nSupport

A username password provider

Linear Supertypes
I18nSupport, I18NSupportLowPriorityImplicits, ApiSupport, IdentityProvider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UsernamePasswordProvider
  2. I18nSupport
  3. I18NSupportLowPriorityImplicits
  4. ApiSupport
  5. IdentityProvider
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UsernamePasswordProvider(userService: UserService[U], avatarService: Option[AvatarService], viewTemplates: ViewTemplates, passwordHashers: Map[String, PasswordHasher], messagesApi: MessagesApi)(implicit executionContext: ExecutionContext)

    Permalink

Type Members

  1. implicit class RequestWithMessagesApi extends AnyRef

    Permalink
    Definition Classes
    I18NSupportLowPriorityImplicits
  2. implicit class ResultWithMessagesApi extends AnyRef

    Permalink
    Definition Classes
    I18NSupportLowPriorityImplicits

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val InvalidCredentials: String

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def authMethod: AuthenticationMethod

    Permalink

    Subclasses need to implement this to specify the authentication method

    Subclasses need to implement this to specify the authentication method

    Definition Classes
    UsernamePasswordProviderIdentityProvider
  7. def authenticate()(implicit request: Request[AnyContent]): Future[AuthenticationResult]

    Permalink

    Authenticates the user and fills the profile information.

    Authenticates the user and fills the profile information.

    request

    the current request

    returns

    a future AuthenticationResult

    Definition Classes
    UsernamePasswordProviderIdentityProvider
  8. def authenticateForApi(implicit request: Request[AnyContent]): Future[AuthenticationResult]

    Permalink

    Authenticates a user

    Authenticates a user

    Definition Classes
    UsernamePasswordProviderApiSupport
  9. def authenticationFailedResult[A](apiMode: Boolean)(implicit request: Request[A]): Future[Product with Serializable with AuthenticationResult]

    Permalink
    Attributes
    protected
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. implicit val executionContext: ExecutionContext

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. val id: String

    Permalink

    The id for this provider.

    The id for this provider.

    Definition Classes
    UsernamePasswordProviderIdentityProvider
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val messagesApi: MessagesApi

    Permalink
    Definition Classes
    UsernamePasswordProvider → I18nSupport
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. implicit def request2Messages(implicit request: RequestHeader): Messages

    Permalink
    Definition Classes
    I18nSupport
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink

    Returns the provider name

    Returns the provider name

    Definition Classes
    IdentityProvider → AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def withUpdatedAvatar(profile: BasicProfile): Future[BasicProfile]

    Permalink
    Attributes
    protected

Inherited from I18nSupport

Inherited from I18NSupportLowPriorityImplicits

Inherited from ApiSupport

Inherited from IdentityProvider

Inherited from AnyRef

Inherited from Any

Ungrouped