Class/Object

com.mohiva.play.silhouette.impl.providers

CasProvider

Related Docs: object CasProvider | package providers

Permalink

class CasProvider extends BaseCasProvider with CommonSocialProfileBuilder

The CAS provider.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CasProvider
  2. CommonSocialProfileBuilder
  3. BaseCasProvider
  4. Logger
  5. CasProviderConstants
  6. SocialProvider
  7. ExecutionContextProvider
  8. SocialProfileBuilder
  9. Provider
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CasProvider(httpLayer: HTTPLayer, settings: CasSettings, client: CasClient)

    Permalink

    httpLayer

    The HTTP layer implementation.

    settings

    The CAS provider settings.

    client

    The CAS client implementation.

Type Members

  1. type A = CasInfo

    Permalink

    The type of the auth info.

    The type of the auth info.

    Definition Classes
    BaseCasProvider → SocialProvider
  2. type Content = AttributePrincipal

    Permalink

    The content type to parse a profile from.

    The content type to parse a profile from.

    Definition Classes
    BaseCasProvider → SocialProfileBuilder
  3. type Profile = CommonSocialProfile

    Permalink
    Definition Classes
    CommonSocialProfileBuilder
  4. type Self = CasProvider

    Permalink

    The type of this class.

    The type of this class.

    Definition Classes
    CasProvider → SocialProvider
  5. type Settings = CasSettings

    Permalink

    The settings type.

    The settings type.

    Definition Classes
    BaseCasProvider → SocialProvider

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

    Permalink
    Definition Classes
    CasProviderConstants
  5. val FirstName: String

    Permalink
    Definition Classes
    CasProviderConstants
  6. val ID: String

    Permalink
    Definition Classes
    CasProviderConstants
  7. val LastName: String

    Permalink
    Definition Classes
    CasProviderConstants
  8. val PictureURL: String

    Permalink
    Definition Classes
    CasProviderConstants
  9. val UserName: String

    Permalink
    Definition Classes
    CasProviderConstants
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def authenticate[B]()(implicit request: ExtractableRequest[B]): Future[Either[Result, CasInfo]]

    Permalink

    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]

    Permalink

    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. val client: CasClient

    Permalink

    The CAS client implementation.

    The CAS client implementation.

    Definition Classes
    CasProviderBaseCasProvider
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    SocialProvider → ExecutionContextProvider
  18. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. val httpLayer: HTTPLayer

    Permalink

    The HTTP layer implementation.

    The HTTP layer implementation.

    Attributes
    protected
    Definition Classes
    CasProvider → SocialProvider
  22. val id: String

    Permalink

    The provider ID.

    The provider ID.

    Definition Classes
    BaseCasProvider → Provider
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. val logger: Logger

    Permalink
    Definition Classes
    Logger
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. val profileParser: CasProfileParser

    Permalink

    The profile parser implementation.

    The profile parser implementation.

    Definition Classes
    CasProvider → SocialProfileBuilder
  29. def resolveCallbackURL(url: String)(implicit request: RequestHeader): String

    Permalink
    Attributes
    protected
    Definition Classes
    SocialProvider
  30. def retrieveProfile(authInfo: A): Future[Profile]

    Permalink
    Definition Classes
    SocialProvider
  31. val settings: CasSettings

    Permalink

    The CAS provider settings.

    The CAS provider settings.

    Definition Classes
    CasProvider → SocialProvider
  32. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. val urls: Map[String, String]

    Permalink

    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
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withSettings(f: (Settings) ⇒ Settings): CasProvider

    Permalink

    Gets a provider initialized with a new settings object.

    Gets a provider initialized with a new settings object.

    f

    A function which gets the settings passed and returns different settings.

    returns

    An instance of the provider initialized with new settings.

    Definition Classes
    CasProvider → SocialProvider

Inherited from BaseCasProvider

Inherited from Logger

Inherited from CasProviderConstants

Inherited from SocialProvider

Inherited from ExecutionContextProvider

Inherited from SocialProfileBuilder

Inherited from Provider

Inherited from AnyRef

Inherited from Any

Ungrouped