case class OAuth2Settings(authorizationURL: Option[String] = None, accessTokenURL: String, redirectURL: Option[String] = None, apiURL: Option[String] = None, 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.
- apiURL
The URL to fetch the profile from the API. Can be used to override the default URL hardcoded in every provider implementation.
- 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.
- Alphabetic
- By Inheritance
- OAuth2Settings
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OAuth2Settings(authorizationURL: Option[String] = None, accessTokenURL: String, redirectURL: Option[String] = None, apiURL: Option[String] = None, 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)
- 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.
- apiURL
The URL to fetch the profile from the API. Can be used to override the default URL hardcoded in every provider implementation.
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accessTokenParams: Map[String, String]
- val accessTokenURL: String
- val apiURL: Option[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val authorizationParams: Map[String, String]
- val authorizationURL: Option[String]
- val clientID: String
- val clientSecret: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val customProperties: Map[String, String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val redirectURL: Option[String]
- val scope: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)