Class

com.mohiva.play.silhouette.impl.providers

OAuth2Settings

Related Doc: package providers

Permalink

case class OAuth2Settings(authorizationURL: Option[String] = None, accessTokenURL: String, redirectURL: String, clientID: String, clientSecret: String, scope: Option[String] = None, authorizationParams: Map[String, String] = Map.empty, accessTokenParams: Map[String, String] = Map.empty, customProperties: Map[String, String] = Map.empty) extends Product with Serializable

The OAuth2 settings.

authorizationURL

The authorization URL provided by the OAuth provider.

accessTokenURL

The access token URL provided by the OAuth provider.

redirectURL

The redirect URL to the application after a successful authentication on the OAuth provider. The URL can be a relative path which will be resolved against the current request's host.

clientID

The client ID provided by the OAuth provider.

clientSecret

The client secret provided by the OAuth provider.

scope

The OAuth2 scope parameter provided by the OAuth provider.

authorizationParams

Additional params to add to the authorization request.

accessTokenParams

Additional params to add to the access token request.

customProperties

A map of custom properties for the different providers.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OAuth2Settings
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OAuth2Settings(authorizationURL: Option[String] = None, accessTokenURL: String, redirectURL: String, clientID: String, clientSecret: String, scope: Option[String] = None, authorizationParams: Map[String, String] = Map.empty, accessTokenParams: Map[String, String] = Map.empty, customProperties: Map[String, String] = Map.empty)

    Permalink

    authorizationURL

    The authorization URL provided by the OAuth provider.

    accessTokenURL

    The access token URL provided by the OAuth provider.

    redirectURL

    The redirect URL to the application after a successful authentication on the OAuth provider. The URL can be a relative path which will be resolved against the current request's host.

    clientID

    The client ID provided by the OAuth provider.

    clientSecret

    The client secret provided by the OAuth provider.

    scope

    The OAuth2 scope parameter provided by the OAuth provider.

    authorizationParams

    Additional params to add to the authorization request.

    accessTokenParams

    Additional params to add to the access token request.

    customProperties

    A map of custom properties for the different providers.

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 accessTokenParams: Map[String, String]

    Permalink

    Additional params to add to the access token request.

  5. val accessTokenURL: String

    Permalink

    The access token URL provided by the OAuth provider.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val authorizationParams: Map[String, String]

    Permalink

    Additional params to add to the authorization request.

  8. val authorizationURL: Option[String]

    Permalink

    The authorization URL provided by the OAuth provider.

  9. val clientID: String

    Permalink

    The client ID provided by the OAuth provider.

  10. val clientSecret: String

    Permalink

    The client secret provided by the OAuth provider.

  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val customProperties: Map[String, String]

    Permalink

    A map of custom properties for the different providers.

  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. val redirectURL: String

    Permalink

    The redirect URL to the application after a successful authentication on the OAuth provider.

    The redirect URL to the application after a successful authentication on the OAuth provider. The URL can be a relative path which will be resolved against the current request's host.

  21. val scope: Option[String]

    Permalink

    The OAuth2 scope parameter provided by the OAuth provider.

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

    Permalink
    Definition Classes
    AnyRef
  23. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped