Class/Object

securesocial.core.providers

GoogleProvider

Related Docs: object GoogleProvider | package providers

Permalink

class GoogleProvider extends OAuth2Provider

A Google OAuth2 Provider

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GoogleProvider
  2. OAuth2Provider
  3. IdentityProvider
  4. Registrable
  5. Plugin
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GoogleProvider(application: Application)

    Permalink

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 Account: String

    Permalink
  5. val Code: String

    Permalink
  6. val DisplayName: String

    Permalink
  7. val Dot: String

    Permalink
    Definition Classes
    IdentityProvider
  8. val Email: String

    Permalink
  9. val EmailType: String

    Permalink
  10. val Emails: String

    Permalink
  11. val Error: String

    Permalink
  12. val FamilyName: String

    Permalink
  13. val GivenName: String

    Permalink
  14. val Id: String

    Permalink
  15. val Image: String

    Permalink
  16. val Message: String

    Permalink
  17. val Name: String

    Permalink
  18. val SecureSocialKey: String

    Permalink
    Definition Classes
    IdentityProvider
  19. val Url: String

    Permalink
  20. val UserInfoApi: String

    Permalink
  21. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  22. 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
    OAuth2ProviderIdentityProvider
  23. def authenticate[A]()(implicit request: Request[A]): Either[Result, Identity]

    Permalink

    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)

    Definition Classes
    IdentityProvider
  24. def authenticationUrl: String

    Permalink

    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.

    Definition Classes
    IdentityProvider
  25. def awaitResult(future: Future[WSResponse]): WSResponse

    Permalink
    Attributes
    protected
    Definition Classes
    IdentityProvider
  26. def buildInfo(response: WSResponse): OAuth2Info

    Permalink
    Attributes
    protected
    Definition Classes
    OAuth2Provider
  27. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def doAuth[A]()(implicit request: Request[A]): Either[Result, SocialUser]

    Permalink

    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

    returns

    Either a Result or a User

    Definition Classes
    OAuth2ProviderIdentityProvider
  29. def enabled: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  32. def fillProfile(user: SocialUser): SocialUser

    Permalink

    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
    GoogleProviderIdentityProvider
  33. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. def id: String

    Permalink
    Definition Classes
    GoogleProviderRegistrable
  37. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Reads a property from the application.conf

    Reads a property from the application.conf

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

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

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

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

    Permalink

    Registers the provider in the Provider Registry

    Registers the provider in the Provider Registry

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

    Permalink

    Unregisters the provider

    Unregisters the provider

    Definition Classes
    IdentityProvider → Plugin
  44. def propertyKey: String

    Permalink

    The property key used for all the provider properties.

    The property key used for all the provider properties.

    Definition Classes
    IdentityProvider
  45. val settings: OAuth2Settings

    Permalink
    Definition Classes
    OAuth2Provider
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def throwMissingPropertiesException(): Unit

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

    Permalink

    Returns the provider name

    Returns the provider name

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

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

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

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

Inherited from OAuth2Provider

Inherited from IdentityProvider

Inherited from Registrable

Inherited from Plugin

Inherited from AnyRef

Inherited from Any

Ungrouped