Did I find the right examples for you? yes no

All Samples(31)  |  Call(11)  |  Derive(0)  |  Import(20)
Authentication, routing, and session token management.

src/p/y/python-cloudfiles-1.7.11/cloudfiles/connection.py   python-cloudfiles(Download)
from    time      import time
import  consts
from    authentication import Authentication
from    fjson     import json_loads
from    sys       import version_info
            authurl = kwargs.get('authurl', consts.us_authurl)
            if username and api_key and authurl:
                self.auth = Authentication(username, api_key, authurl=authurl,
                            useragent=self.user_agent, timeout=self.timeout)
            else:

src/p/y/python-cloudfiles-HEAD/cloudfiles/connection.py   python-cloudfiles(Download)
from    time      import time
import  consts
from    authentication import Authentication
from    fjson     import json_loads
from    sys       import version_info
            authurl = kwargs.get('authurl', consts.us_authurl)
            if username and api_key and authurl:
                self.auth = Authentication(username, api_key, authurl=authurl,
                            useragent=self.user_agent, timeout=self.timeout)
            else:

src/z/f/zft-HEAD/dashboard/doc/rackspace-python-cloudfiles-e8fd112/cloudfiles/connection.py   zft(Download)
from    time      import time
import  consts
from    authentication import Authentication
from    fjson     import json_loads
from    sys       import version_info
            authurl = kwargs.get('authurl', consts.us_authurl)
            if username and api_key and authurl:
                self.auth = Authentication(username, api_key, authurl=authurl,
                            useragent=self.user_agent)
            else:

src/p/y/python-clouddns-0.0.0/clouddns/connection.py   python-clouddns(Download)
    THTTPConnection, THTTPSConnection
from domain import DomainResults, Domain
from authentication import Authentication
 
# Because HTTPResponse objects *have* to have read() called on them
            authurl = kwargs.get('authurl', consts.us_authurl)
            if username and api_key and authurl:
                self.auth = Authentication(username, api_key, authurl=authurl,
                            useragent=self.user_agent)
            else:

src/p/y/python-clouddns-HEAD/clouddns/connection.py   python-clouddns(Download)
    THTTPConnection, THTTPSConnection
from domain import DomainResults, Domain
from authentication import Authentication
 
# Because HTTPResponse objects *have* to have read() called on them
            authurl = kwargs.get('authurl', consts.us_authurl)
            if username and api_key and authurl:
                self.auth = Authentication(username, api_key, authurl=authurl,
                            useragent=self.user_agent)
            else:

src/r/o/rooibos-HEAD/rooibos/contrib/cloudfiles/connection.py   rooibos(Download)
from    time      import time
import  consts
from    authentication import Authentication
from    fjson     import json_loads
from    sys       import version_info
            authurl = kwargs.get('authurl', consts.default_authurl)
            if username and api_key and authurl:
                self.auth = Authentication(username, api_key, authurl)
            else:
                raise TypeError("Incorrect or invalid arguments supplied")

src/c/o/controller-openstack-cinder-HEAD/cinder/volume/drivers/emc/vipr/emc_vipr_driver_common.py   controller-openstack-cinder(Download)
    def authenticate_user(self):
        global AUTHENTICATED
        from authentication import Authentication
        # we should check to see if we are already authenticated before blindly
        # doing it again
        if (AUTHENTICATED is False):
            obj = Authentication(self.configuration.vipr_hostname,

src/s/w/swiftarm-HEAD/tribler/Tribler/dispersy/message.py   swiftarm(Download)
    def __init__(self, community, name, authentication, resolution, distribution, destination, payload, check_callback, handle_callback, undo_callback=None, batch=None):
        if __debug__:
            from community import Community
            from authentication import Authentication
            from resolution import Resolution, DynamicResolution
    def check_policy_combination(authentication, resolution, distribution, destination):
        from authentication import Authentication, NoAuthentication, MemberAuthentication, MultiMemberAuthentication
        from resolution import Resolution, PublicResolution, LinearResolution, DynamicResolution
        from distribution import Distribution, RelayDistribution, DirectDistribution, FullSyncDistribution, LastSyncDistribution
        from destination import Destination, CandidateDestination, MemberDestination, CommunityDestination, SubjectiveDestination

src/s/w/swiftarm-HEAD/tribler/Tribler/dispersy/conversion.py   swiftarm(Download)
 
if __debug__:
    from authentication import Authentication
    from candidate import Candidate
    from destination import Destination

src/d/i/dispersy-HEAD/message.py   dispersy(Download)
from abc import ABCMeta, abstractmethod, abstractproperty
from time import time
 
from .authentication import Authentication
from .candidate import Candidate
    def check_policy_combination(authentication, resolution, distribution, destination):
        from .authentication import Authentication, NoAuthentication, MemberAuthentication, DoubleMemberAuthentication
        from .resolution import Resolution, PublicResolution, LinearResolution, DynamicResolution
        from .distribution import Distribution, RelayDistribution, DirectDistribution, FullSyncDistribution, LastSyncDistribution
        from .destination import Destination, CandidateDestination, CommunityDestination

  1 | 2  Next