MicrosoftValidator

com.malliina.web.MicrosoftValidator
See theMicrosoftValidator companion object
class MicrosoftValidator(clientIds: Seq[ClientId], issuer: Issuer) extends TokenValidator

Attributes

Companion
object
Graph
Supertypes
trait ClaimKeys
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def checkNbf(parsed: ParsedJWT, now: Instant): Either[JWTError, Instant]

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: TokenValue, keys: Seq[KeyConf], now: Instant): Either[JWTError, Verified]

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