StandardAuthFlow

com.malliina.web.StandardAuthFlow
abstract class StandardAuthFlow[F[_], V](conf: AuthCodeConf[F])(implicit evidence$3: Sync[F]) extends DiscoveringAuthFlow[F, V], LoginHint[F]

Attributes

Graph
Supertypes
trait LoginHint[F]
class DiscoveringAuthFlow[F, V]
trait AuthFlow[F, Verified]
trait FlowStart[F]
class Object
trait Matchable
class Any
Show all
Known subtypes
class EmailAuthFlow[F]

Members list

Value members

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
def parse(v: Verified): Either[JWTError, V]

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