Trait

securesocial.controllers

TemplatesPlugin

Related Doc: package controllers

Permalink

trait TemplatesPlugin extends Plugin

A trait that defines methods that return the html pages and emails for SecureSocial.

If you need to customise the views just create a new plugin and register it instead of DefaultTemplatesPlugin in the play.plugins file of your app.

See also

DefaultViewsPlugins

Linear Supertypes
Plugin, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TemplatesPlugin
  2. Plugin
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getAlreadyRegisteredEmail(user: Identity)(implicit request: RequestHeader): (Option[Txt], Option[Html])

    Permalink

    Returns the email sent when the user is already registered

    Returns the email sent when the user is already registered

    user

    the user

    request

    the current request

    returns

    a tuple with the text and/or html body for the email

  2. abstract def getLoginPage[A](implicit request: Request[A], form: Form[(String, String)], msg: Option[String] = None): Html

    Permalink

    Returns the html for the login page

  3. abstract def getNotAuthorizedPage[A](implicit request: Request[A]): Html

    Permalink

    Returns the html for the not authorized page

  4. abstract def getPasswordChangePage[A](implicit request: SecuredRequest[A], form: Form[ChangeInfo]): Html

    Permalink

    Returns the html for the change password page

  5. abstract def getPasswordChangedNoticeEmail(user: Identity)(implicit request: RequestHeader): (Option[Txt], Option[Html])

    Permalink

    Returns the email sent as a confirmation of a password change

    Returns the email sent as a confirmation of a password change

    user

    the user

    request

    the current http request

    returns

    a String with the text and/or html body for the email

  6. abstract def getResetPasswordPage[A](implicit request: Request[A], form: Form[(String, String)], token: String): Html

    Permalink

    Returns the html for the reset password page

  7. abstract def getSendPasswordResetEmail(user: Identity, token: String)(implicit request: RequestHeader): (Option[Txt], Option[Html])

    Permalink

    Returns the email sent to the user to reset the password

    Returns the email sent to the user to reset the password

    user

    the user

    token

    the token used to identify the request

    request

    the current http request

    returns

    a String with the text and/or html body for the email

  8. abstract def getSignUpEmail(token: String)(implicit request: RequestHeader): (Option[Txt], Option[Html])

    Permalink

    Returns the email sent when a user starts the sign up process

    Returns the email sent when a user starts the sign up process

    token

    the token used to identify the request

    request

    the current http request

    returns

    a String with the text and/or html body for the email

  9. abstract def getSignUpPage[A](implicit request: Request[A], form: Form[RegistrationInfo], token: String): Html

    Permalink

    Returns the html for the signup page

  10. abstract def getStartResetPasswordPage[A](implicit request: Request[A], form: Form[String]): Html

    Permalink

    Returns the html for the start reset page

  11. abstract def getStartSignUpPage[A](implicit request: Request[A], form: Form[String]): Html

    Permalink

    Returns the html for the start signup page

  12. abstract def getUnknownEmailNotice()(implicit request: RequestHeader): (Option[Txt], Option[Html])

    Permalink

    Returns the email sent when a user tries to reset the password but there is no account for that email address in the system

    Returns the email sent when a user tries to reset the password but there is no account for that email address in the system

    request

    the current request

    returns

    a String with the text and/or html body for the email

  13. abstract def getWelcomeEmail(user: Identity)(implicit request: RequestHeader): (Option[Txt], Option[Html])

    Permalink

    Returns the welcome email sent when the user finished the sign up process

    Returns the welcome email sent when the user finished the sign up process

    user

    the user

    request

    the current request

    returns

    a String with the text and/or html body for the email

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def enabled: Boolean

    Permalink
    Definition Classes
    Plugin
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def onStart(): Unit

    Permalink
    Definition Classes
    TemplatesPlugin → Plugin
  17. def onStop(): Unit

    Permalink
    Definition Classes
    Plugin
  18. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Plugin

Inherited from AnyRef

Inherited from Any

Ungrouped