GoogleAuthFlow

com.malliina.web.GoogleAuthFlow
See theGoogleAuthFlow companion object
class GoogleAuthFlow[F[_]](conf: AuthCodeConf[F])(implicit evidence$1: Sync[F]) extends DiscoveringAuthFlow[F, Email], LoginHint[F]

Attributes

Companion
object
Graph
Supertypes
trait LoginHint[F]
class DiscoveringAuthFlow[F, Email]
trait AuthFlow[F, Verified]
trait FlowStart[F]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def parse(validated: Verified): Either[JWTError, Email]

Attributes

Definition Classes

Inherited methods

def checkNonce(idToken: IdToken, verified: Verified, requestNonce: Option[String]): Either[JWTError, Verified]

Attributes

Inherited from:
DiscoveringAuthFlow
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

Attributes

Inherited from:
DiscoveringAuthFlow
override def start(redirectUrl: FullUrl, extraParams: Map[String, String]): F[Start]

Attributes

Definition Classes
Inherited from:
DiscoveringAuthFlow
def startHinted(redirectUrl: FullUrl, loginHint: Option[String], extraParams: Map[String, String]): F[Start]

Attributes

Inherited from:
LoginHint
override def validate(code: Code, redirectUrl: FullUrl, requestNonce: Option[String]): F[Either[AuthError, Verified]]

Returns either a successfully validated user object or an AuthError if validation fails.

Returns either a successfully validated user object or an AuthError if validation fails.

The returned Future fails with a ResponseException if any network request fails.

Value parameters

code

auth code

redirectUrl

redir url

Attributes

Returns

a user object or a failure

Definition Classes
Inherited from:
DiscoveringAuthFlow
def validateCallback(cb: Callback): F[Either[AuthError, U]]

Attributes

Inherited from:
CallbackValidator

Inherited fields

val brandName: String

Attributes

Inherited from:
DiscoveringAuthFlow
val client: KeyClient[F]

Attributes

Inherited from:
DiscoveringAuthFlow
val http: HttpClient[F]

Attributes

Inherited from:
DiscoveringAuthFlow