OAuthConfig

com.github.cloudfiles.core.http.auth.OAuthConfig
See theOAuthConfig companion object
case class OAuthConfig(tokenEndpoint: String, redirectUri: String, clientID: String, clientSecret: Secret, initTokenData: OAuthTokenData, refreshNotificationFunc: TokenRefreshNotificationFunc) extends AuthConfig

A data class collecting the properties required for an OAuth client application.

An instance of this class stores the information required for obtaining an OAuth access token based on a refresh token from a specific OAuth2 identity provider.

Value parameters

clientID

the client ID

clientSecret

the secret to identify the client

initTokenData

an object with token information (the mandatory refresh token and a (possibly undefined) access token

redirectUri

the redirect URI

refreshNotificationFunc

a function to invoke when tokens are refreshed

tokenEndpoint

the URI of the token endpoint

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AuthConfig
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product