verifier
Provides a JWTVerifier used to verify a token format and signature.
Parameters
verifier
verifies token format and signature
Provides a JWTVerifier used to verify a token format and signature.
fun verifier(jwkProvider: JwkProvider, issuer: String, configure: JWTConfigureFunction = {})
Content copied to clipboard
Provides a JWTVerifier used to verify a token format and signature.
Parameters
jwkProvider
provides the JSON Web Key
issuer
the issuer of the JSON Web Token
configure
function is applied during JWTVerifier construction
fun verifier(jwkProvider: JwkProvider, configure: JWTConfigureFunction = {})
Content copied to clipboard
Provides a JWTVerifier used to verify a token format and signature.
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
Provides a JWTVerifier used to verify a token format and signature.
Parameters
issuer
of the JSON Web Token
audience
restriction
algorithm
for validations of token signatures
Provides a JWTVerifier used to verify a token format and signature.
Parameters
issuer
the issuer of JSON Web Token
block
configuration of JwkProvider