def METHOD_NAME(key=None, ret='all'):
    """
    returns a subtree of the token definition
    Is used by lib.token.get_token_info
    :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: dict
    """
    res = {'type' :'spass',
           'title' :'Simple Pass Token',
           'description': _('SPass: Simple Pass token. Static passwords.'),
           'config': {},
           'user': ['enroll'],
           # This tokentype is enrollable in the UI for...
           'ui_enroll': ["admin", "user"],
           # SPASS token can have specific PIN policies in the scopes
           # admin and user
           'pin_scopes': [SCOPE.ADMIN, SCOPE.USER],
           'policy': {
               SCOPE.ENROLL: {
                   ACTION.MAXTOKENUSER: {
                       'type': 'int',
                       'desc': _("The user may only have this maximum number of SPASS tokens assigned."),
                       'group': GROUP.TOKEN
                   },
                   ACTION.MAXACTIVETOKENUSER: {
                       'type': 'int',
                       'desc': _(
                           "The user may only have this maximum number of active SPASS tokens assigned."),
                       'group': GROUP.TOKEN
                   }
               }
           }
           }
    # do we need to define the lost token policies here...
    if key:
        ret = res.get(key, {})
    else:
        if ret == 'all':
            ret = res
    return ret