validateUser

abstract suspend fun validateUser(secret: String, audience: String, issuer: String, userId: String, email: String, expiration: Long): Boolean

Validates a user by making a request to the user service.

Return

Whether the user is valid.

Parameters

secret

The secret to use for validation.

audience

The audience to use for validation.

issuer

The issuer to use for validation.

userId

The user ID to validate.

email

The email of the user.

expiration

The expiration time of the token.