Packages

trait BaseCasProvider extends SocialProvider with CasProviderConstants with Logger

Base CAS provider.

See also

http://jasig.github.io/cas

https://github.com/Jasig/cas

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseCasProvider
  2. Logger
  3. CasProviderConstants
  4. SocialProvider
  5. ExecutionContextProvider
  6. SocialProfileBuilder
  7. Provider
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type A = CasInfo

    The type of the auth info.

    The type of the auth info.

    Definition Classes
    BaseCasProvider → SocialProvider
  2. type Content = AttributePrincipal

    The content type to parse a profile from.

    The content type to parse a profile from.

    Definition Classes
    BaseCasProvider → SocialProfileBuilder
  3. abstract type Profile <: SocialProfile
    Definition Classes
    SocialProfileBuilder
  4. abstract type Self <: SocialProvider
    Definition Classes
    SocialProvider
  5. type Settings = CasSettings

    The settings type.

    The settings type.

    Definition Classes
    BaseCasProvider → SocialProvider

Abstract Value Members

  1. abstract val client: CasClient

    The CAS client instance.

  2. abstract val httpLayer: HTTPLayer
    Attributes
    protected
    Definition Classes
    SocialProvider
  3. abstract def profileParser: SocialProfileParser[Content, Profile, A]
    Attributes
    protected
    Definition Classes
    SocialProfileBuilder
  4. abstract def settings: Settings
    Definition Classes
    SocialProvider
  5. abstract def withSettings(f: (Settings) => Settings): Self
    Definition Classes
    SocialProvider

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Email: String
    Definition Classes
    CasProviderConstants
  5. val FirstName: String
    Definition Classes
    CasProviderConstants
  6. val ID: String
    Definition Classes
    CasProviderConstants
  7. val LastName: String
    Definition Classes
    CasProviderConstants
  8. val PictureURL: String
    Definition Classes
    CasProviderConstants
  9. val UserName: String
    Definition Classes
    CasProviderConstants
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def authenticate[B]()(implicit request: ExtractableRequest[B]): Future[Either[Result, CasInfo]]

    Starts the authentication process.

    Starts the authentication process.

    B

    The type of the request body.

    request

    The current request.

    returns

    Either a Result or the auth info from the provider.

    Definition Classes
    BaseCasProvider → SocialProvider
  12. def buildProfile(authInfo: CasInfo): Future[Profile]

    Populate the profile information from the service provider.

    Populate the profile information from the service provider.

    authInfo

    The auth info received from the provider.

    returns

    On success the build social profile, otherwise a failure.

    Attributes
    protected
    Definition Classes
    BaseCasProvider → SocialProfileBuilder
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. implicit val executionContext: ExecutionContext
    Definition Classes
    SocialProvider → ExecutionContextProvider
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. val id: String

    The provider ID.

    The provider ID.

    Definition Classes
    BaseCasProvider → Provider
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val logger: Logger
    Definition Classes
    Logger
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def resolveCallbackURL(url: String)(implicit request: RequestHeader): String
    Attributes
    protected
    Definition Classes
    SocialProvider
  27. def retrieveProfile(authInfo: A): Future[Profile]
    Definition Classes
    SocialProvider
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. val urls: Map[String, String]

    Defines the URLs that are needed to retrieve the profile data.

    Defines the URLs that are needed to retrieve the profile data.

    Since profile retrieval is internal to the Jasig CAS implementation, we don't need any further URLs ourselves.

    Attributes
    protected
    Definition Classes
    BaseCasProvider → SocialProfileBuilder
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Logger

Inherited from CasProviderConstants

Inherited from SocialProvider

Inherited from SocialProfileBuilder

Inherited from Provider

Inherited from AnyRef

Inherited from Any

Ungrouped