• Gets a token by token

    Parameters

    • db: any

      The database to use

    • token: string

      The token to get

    Returns Promise<any>

    The token, or undefined if it doesn't exist