def METHOD_NAME(cls, key=None, ret="all"):
    """
    getClassInfo - returns a subtree of the token definition
    :param key: subsection identifier
    :type key: string
    :param ret: default return value, if nothing is found
    :type ret: user defined
    :return: subsection if key exists or user defined
    :rtype: s.o.
    """
    res = {
        "type": "pw",
        "title": "Password Token",
        "description": (
            "A token with a fixed password. Can be combined "
            "with the OTP PIN. Is used for the lost token "
            "scenario."
        ),
        "init": {
            "page": {
                "html": "passwordtoken.mako",
                "scope": "enroll",
            },
            "title": {
                "html": "passwordtoken.mako",
                "scope": "enroll.title",
            },
        },
        "config": {
            "page": {
                "html": "passwordtoken.mako",
                "scope": "config",
            },
            "title": {
                "html": "passwordtoken.mako",
                "scope": "config.title",
            },
        },
        "selfservice": {
            "enroll": {
                "page": {
                    "html": "passwordtoken.mako",
                    "scope": "selfservice.enroll",
                },
                "title": {
                    "html": "passwordtoken.mako",
                    "scope": "selfservice.title.enroll",
                },
            },
        },
        "policy": {},
    }
    if key and key in res:
        ret = res.get(key)
    else:
        if ret == "all":
            ret = res
    return ret