Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(26)  |  Call(22)  |  Derive(0)  |  Import(4)

        def getLowerParams(param):
    ret = {}
    for key in param:
        lkey = key.lower()
        # strip the session parameter!
        if "session" != lkey:
            lval = param[key]
            ret[lkey] = lval
            log.debug("[getLowerParams] Parameter key:%s=%s", lkey, lval)
    return ret
        


src/l/i/LinOTP-2.6.1.1/linotp/controllers/admin.py   LinOTP(Download)
 
from linotp.lib.error import ParameterError
from linotp.lib.util import getParam, getLowerParams
from linotp.lib.util import check_session, SESSION_KEY_LENGTH, remove_session_from_param
from linotp.lib.util import get_client
        log.debug('[setPin]')
        try:
            param = getLowerParams(request.params)
 
            ## if there is a pin
 
        try:
            param = getLowerParams(request.params)
 
            serial = getParam(param, "serial", optional)
 
        try:
            param = getLowerParams(request.params)
 
            type = getParam(param, "type", required)

src/l/i/LinOTP-2.6.1.1/linotp/controllers/system.py   LinOTP(Download)
from linotp.lib.error   import ParameterError
 
from linotp.lib.util    import getParam, getLowerParams
from linotp.lib.reply   import sendResult, sendError, sendXMLResult, sendXMLError
from linotp.lib.realm   import getRealms
        ### config settings from here
        try:
            param = getLowerParams(request.params)
            log.info("[setDefault] saving default configuration: %r" % param)
 
 
        try:
            param = getLowerParams(request.params)
            log.info("[delConfig] with params: %r" % param)
 
        ### config settings from here
        try:
            param = getLowerParams(request.params)
            log.debug("[getRealms] with params: %r" % param)
            res = getRealms()
 
        try:
            param = getLowerParams(request.params)
            log.info("[delResolver] deleting resolver: %r" % param)
 

src/l/i/LinOTP-2.6.1.1/linotp/controllers/selfservice.py   LinOTP(Download)
 
from linotp.lib.util import getParam
from linotp.lib.util import getLowerParams
from linotp.lib.util import check_selfservice_session
from linotp.lib.util import generate_otpkey
        ## if there is a pin
        try:
            param = getLowerParams(request.params)
 
            # check selfservice authorization
        ## if there is a pin
        try:
            param = getLowerParams(request.params)
 
            # check selfservice authorization

src/l/i/LinOTP-2.6.1.1/linotp/controllers/ocra.py   LinOTP(Download)
from linotp.lib.error   import ParameterError
 
from linotp.lib.util    import getParam, getLowerParams
from linotp.lib.reply   import sendResult, sendError
from linotp.lib.reply   import sendQRImageResult
 
        try:
            param = getLowerParams(request.params)
            log.info("[request] saving default configuration: %r" % param)
 
 
        try:
            param = getLowerParams(request.params)
            log.info("[check_t] check OCRA token: %r" % param)
 
 
        try:
            param = getLowerParams(request.params)
            log.debug("[checkstatus] check OCRA token status: %r" % param)
 
 
        try:
            params = getLowerParams(request.params)
            log.debug("[getActivationCode]: %r" % params)