TokenGenerator

object TokenGenerator

Functions

Link copied to clipboard
fun generate(permission: Permission): String

Generates a token, composed of 3 parts:

Link copied to clipboard
fun isFormatValid(token: String): Boolean

Verifies if token follows the token format.

Sources

Link copied to clipboard