CognitoValidator

com.malliina.web.CognitoValidator
See theCognitoValidator companion object
abstract class CognitoValidator[T <: TokenValue, U](keys: Seq[KeyConf], issuer: Issuer) extends StaticTokenValidator[T, U]

Attributes

Companion
object
Graph
Supertypes
class StaticTokenValidator[T, U]
trait ClaimKeys
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Inherited methods

def buildVerifier(conf: KeyConf): RSASSAVerifier

Attributes

Inherited from:
TokenValidator
def checkClaim(key: String, expected: String, parsed: ParsedJWT): Either[JWTError, ParsedJWT]

Attributes

Inherited from:
TokenValidator
def checkContains(key: String, expecteds: Seq[String], parsed: ParsedJWT): Either[JWTError, Seq[String]]

Attributes

Inherited from:
TokenValidator
protected def isSignatureValid(unverified: SignedJWT, verifier: RSASSAVerifier): Boolean

Attributes

Inherited from:
TokenValidator
protected def parse(token: TokenValue): Either[JWTError, ParsedJWT]

Attributes

Inherited from:
TokenValidator
def validate(token: T, now: Instant): Either[JWTError, U]

Attributes

Inherited from:
StaticTokenValidator
def validate(token: TokenValue, keys: Seq[KeyConf], now: Instant): Either[JWTError, Verified]

Attributes

Inherited from:
TokenValidator
protected def validateClaims(parsed: ParsedJWT, now: Instant): Either[JWTError, ParsedJWT]

Attributes

Inherited from:
TokenValidator
protected def verify(parsed: ParsedJWT, keys: Seq[KeyConf], now: Instant): Either[JWTError, Verified]

Attributes

Inherited from:
TokenValidator

Inherited fields

val Aud: String

Attributes

Inherited from:
ClaimKeys
val Exp: String

Attributes

Inherited from:
ClaimKeys
val IssuerKey: String

Attributes

Inherited from:
ClaimKeys
val Kid: String

Attributes

Inherited from:
ClaimKeys
val NotBefore: String

Attributes

Inherited from:
ClaimKeys