securesocial.core

OAuth1Provider

abstract class OAuth1Provider extends IdentityProvider

Base class for all OAuth1 providers

Linear Supertypes
IdentityProvider, Registrable, Plugin, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OAuth1Provider
  2. IdentityProvider
  3. Registrable
  4. Plugin
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OAuth1Provider(application: Application)

Abstract Value Members

  1. abstract def fillProfile(user: SocialUser): SocialUser

    Subclasses need to implement this method to populate the User object with profile information from the service provider.

    Subclasses need to implement this method to populate the User object with profile information from the service provider.

    user

    The user object to be populated

    returns

    A copy of the user object with the new values set

    Definition Classes
    IdentityProvider
  2. abstract def id: String

    Definition Classes
    Registrable

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val Dot: String

    Definition Classes
    IdentityProvider
  7. val SecureSocialKey: String

    Definition Classes
    IdentityProvider
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def authMethod: AuthenticationMethod

    Subclasses need to implement this to specify the authentication method

    Subclasses need to implement this to specify the authentication method

    returns

    Definition Classes
    OAuth1ProviderIdentityProvider
  10. def authenticate[A]()(implicit request: Request[A]): Either[Result, Identity]

    Authenticates the user and fills the profile information.

    Authenticates the user and fills the profile information. Returns either a User if all went ok or a Result that the controller sends to the browser (eg: in the case of OAuth for example where the user needs to be redirected to the service provider)

    A
    request
    returns

    Definition Classes
    IdentityProvider
  11. def authenticationUrl: String

    The url for this provider.

    The url for this provider. This is used in the login page template to point each icon to the provider url.

    returns

    Definition Classes
    IdentityProvider
  12. def awaitResult(future: Future[Response]): Response

    Attributes
    protected
    Definition Classes
    IdentityProvider
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def createServiceInfo(key: String): ServiceInfo

  15. def doAuth[A]()(implicit request: Request[A]): Either[Result, SocialUser]

    Subclasses need to implement the authentication logic.

    Subclasses need to implement the authentication logic. This method needs to return a User object that then gets passed to the fillProfile method

    A
    request
    returns

    Either a Result or a User

    Definition Classes
    OAuth1ProviderIdentityProvider
  16. def enabled: Boolean

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

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

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

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

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

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

    Definition Classes
    Any
  23. def loadProperty(property: String): Option[String]

    Reads a property from the application.

    Reads a property from the application.conf

    property
    returns

    Definition Classes
    IdentityProvider
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def onStart(): Unit

    Registers the provider in the Provider Registry

    Registers the provider in the Provider Registry

    Definition Classes
    IdentityProvider → Plugin
  28. def onStop(): Unit

    Unregisters the provider

    Unregisters the provider

    Definition Classes
    IdentityProvider → Plugin
  29. def propertyKey: String

    The property key used for all the provider properties.

    The property key used for all the provider properties.

    returns

    Definition Classes
    IdentityProvider
  30. val service: OAuth

  31. val serviceInfo: ServiceInfo

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def throwMissingPropertiesException(): Unit

    Attributes
    protected
    Definition Classes
    IdentityProvider
  34. def toString(): String

    Returns the provider name

    Returns the provider name

    returns

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IdentityProvider

Inherited from Registrable

Inherited from Plugin

Inherited from AnyRef

Inherited from Any

Ungrouped