verifier
Parameters
verifier
verifies token format and signature
fun verifier(jwkProvider: JwkProvider, issuer: String, configure: JWTConfigureFunction = {})
Content copied to clipboard
Parameters
jwkProvider
provides the JSON Web Key
issuer
the issuer of the JSON Web Token
@param configure function will be applied during JWTVerifier construction
fun verifier(jwkProvider: JwkProvider, configure: JWTConfigureFunction = {})
Content copied to clipboard
Parameters
jwkProvider
provides the JSON Web Key
configure
function will be applied during JWTVerifier construction
fun verifier(issuer: String, audience: String, algorithm: Algorithm, block: Verification.() -> Unit = {})
Content copied to clipboard
Configure verifier using JWTVerifier.
Parameters
issuer
of the JSON Web Token
audience
restriction
algorithm
for validations of token signatures
Configure verifier using JwkProvider.
Parameters
issuer
the issuer of JSON Web Token
block
configuration of JwkProvider