Class/Object

securesocial.core.providers

SlackProvider

Related Docs: object SlackProvider | package providers

Permalink

class SlackProvider extends OAuth2Provider

A Slack provider

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SlackProvider
  2. OAuth2Provider
  3. ApiSupport
  4. IdentityProvider
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SlackProvider(routesService: RoutesService, cacheService: CacheService, client: OAuth2Client)

    Permalink

Type Members

  1. case class LoginJson(email: String, info: OAuth2Info) extends Product with Serializable

    Permalink

    Defines the request format for api authentication requests

    Defines the request format for api authentication requests

    email

    the user email

    info

    the OAuth2Info as returned by some Oauth2 service on the client side (eg: JS app)

    Definition Classes
    OAuth2Provider

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

    Permalink
  5. val GetAuthenticatedUser: String

    Permalink
  6. implicit val LoginJsonReads: Reads[LoginJson]

    Permalink

    A Reads instance for the LoginJson case class

    A Reads instance for the LoginJson case class

    Definition Classes
    OAuth2Provider
  7. implicit val OAuth2InfoReads: Reads[OAuth2Info]

    Permalink

    A Reads instance for the OAuth2Info case class

    A Reads instance for the OAuth2Info case class

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

    Permalink
    Definition Classes
    Any
  9. 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
  10. implicit val authTestReads: Reads[AuthTestResponse]

    Permalink
  11. 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
    OAuth2ProviderIdentityProvider
  12. def authenticateForApi(implicit request: Request[AnyContent]): Future[AuthenticationResult]

    Permalink

    Authenticates a user

    Authenticates a user

    Definition Classes
    OAuth2ProviderApiSupport
  13. def buildInfo(response: WSResponse): OAuth2Info

    Permalink
    Attributes
    protected
    Definition Classes
    SlackProviderOAuth2Provider
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. implicit val commonResponseReads: Reads[CommonResponse]

    Permalink
  16. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    OAuth2Provider
  19. def fillProfile(info: OAuth2Info): Future[BasicProfile]

    Permalink
    Definition Classes
    SlackProviderOAuth2Provider
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def getAccessToken[A](code: String)(implicit request: Request[A]): Future[OAuth2Info]

    Permalink
    Attributes
    protected
    Definition Classes
    OAuth2Provider
  22. final def getClass(): Class[_]

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

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

    Permalink

    The id for this provider.

    The id for this provider.

    Definition Classes
    SlackProviderIdentityProvider
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    OAuth2Provider
  27. val malformedJson: String

    Permalink

    The error returned for malformed requests

    The error returned for malformed requests

    Definition Classes
    OAuth2Provider
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. val settings: OAuth2Settings

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

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

    Permalink

    Returns the provider name

    Returns the provider name

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

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

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

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

Inherited from OAuth2Provider

Inherited from ApiSupport

Inherited from IdentityProvider

Inherited from AnyRef

Inherited from Any

Ungrouped