CallbackValidator

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def validate(code: Code, redirectUrl: FullUrl, requestNonce: Option[String]): IO[Either[AuthError, U]]

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 Params
code

auth code

redirectUrl

redir url

Returns

a user object or a failure

Concrete methods

def validateCallback(cb: Callback): IO[Either[AuthError, U]]