TwitterAuthFlow

com.malliina.web.TwitterAuthFlow
See theTwitterAuthFlow companion object
class TwitterAuthFlow[F[_]](conf: AuthConf, val http: HttpClient[F])(implicit evidence$1: Sync[F]) extends FlowStart[F]

Attributes

Companion
object
Graph
Supertypes
trait FlowStart[F]
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class Encodable(nonce: String, map: Map[String, String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def authTokenUrl(token: AccessToken): FullUrl
def requestToken(redirectUrl: FullUrl): F[Either[OAuthError, AccessToken]]
def start(redirectUrl: FullUrl, extraParams: Map[String, String]): F[Start]
def validateTwitterCallback(oauthToken: AccessToken, requestToken: AccessToken, oauthVerifier: String): F[Either[OAuthError, TwitterUser]]

Inherited methods

protected def commonAuthParams(authScope: String, redirectUrl: FullUrl, clientId: ClientId): Map[String, String]

Attributes

Inherited from:
FlowStart
def extraRedirParams(redirectUrl: FullUrl): Map[String, String]

Attributes

Inherited from:
FlowStart

Concrete fields

val F: Sync[F]
val accessTokenUrl: FullUrl
val baseUrl: FullUrl
val brandName: String
val http: HttpClient[F]
val requestTokenUrl: FullUrl
val userInfoUrl: FullUrl