MiddlewareRepository

MiddlewareRepository is an interface that defines the methods to be implemented.

Functions

Link copied to clipboard

Configures the stored mapped routes.

Link copied to clipboard
abstract fun startMiddleware(): Flow<Resource<Unit>>

Starts the middleware.

Link copied to clipboard
abstract suspend fun stopMiddleware()

Stops the middleware.

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

Validates the user.