CognitoValidator

abstract class CognitoValidator[T <: TokenValue, U](keys: Seq[KeyConf], issuer: Issuer) extends StaticTokenValidator[T, U]
Companion
object
trait ClaimKeys
class Object
trait Matchable
class Any

Value members

Inherited methods

def buildVerifier(conf: KeyConf): RSASSAVerifier
Inherited from
TokenValidator
def checkClaim(key: String, expected: String, parsed: ParsedJWT): Either[JWTError, ParsedJWT]
Inherited from
TokenValidator
def checkContains(key: String, expecteds: Seq[String], parsed: ParsedJWT): Either[JWTError, Seq[String]]
Inherited from
TokenValidator
protected def isSignatureValid(unverified: SignedJWT, verifier: RSASSAVerifier): Boolean
Inherited from
TokenValidator
protected def parse(token: TokenValue): Either[JWTError, ParsedJWT]
Inherited from
TokenValidator
def validate(token: T, now: Instant): Either[JWTError, U]
Inherited from
StaticTokenValidator
def validate(token: TokenValue, keys: Seq[KeyConf], now: Instant): Either[JWTError, Verified]
Inherited from
TokenValidator
protected def validateClaims(parsed: ParsedJWT, now: Instant): Either[JWTError, ParsedJWT]
Inherited from
TokenValidator
protected def verify(parsed: ParsedJWT, keys: Seq[KeyConf], now: Instant): Either[JWTError, Verified]
Inherited from
TokenValidator

Inherited fields

val Aud: String
Inherited from
ClaimKeys
val Exp: String
Inherited from
ClaimKeys
val IssuerKey: String
Inherited from
ClaimKeys
val Kid: String
Inherited from
ClaimKeys
val NotBefore: String
Inherited from
ClaimKeys