skpy/conn.py
def getRegToken(self):
        """
        Acquire a new registration token.

        Once successful, all tokens and expiry times are written to the token file (if specified on initialisation).
        """
        self.verifyToken(self.Auth.SkypeToken)
        token, expiry, msgsHost, endpoint = SkypeRegistrationTokenProvider(self).auth(self.tokens["skype"])
        self.tokens["reg"] = token
        self.tokenExpiry["reg"] = expiry
        self.msgsHost = msgsHost
        if endpoint:
            endpoint.config()
            self.endpoints["main"] = endpoint
        self.syncEndpoints()
        if self.tokenFile:
            self.writeToken()
def getRegToken(self):
        self.verifyToken(self.Auth.SkypeToken)
        token, expiry, msgsHost, endpoint = SkypeRegistrationTokenProvider(self).auth(self.tokens["skype"])
        self.tokens["reg"] = token
        self.tokenExpiry["reg"] = expiry
        self.msgsHost = msgsHost
        if endpoint:
            endpoint.config()
            self.endpoints["main"] = endpoint
        self.syncEndpoints()
        if self.tokenFile:
            self.writeToken()
def getRegToken ( self ) : self . verifyToken ( self . Auth . SkypeToken ) token , expiry , msgsHost , endpoint = SkypeRegistrationTokenProvider ( self ) . auth ( self . tokens [ "skype" ] ) self . tokens [ "reg" ] = token self . tokenExpiry [ "reg" ] = expiry self . msgsHost = msgsHost if endpoint : endpoint . config ( ) self . endpoints [ "main" ] = endpoint self . syncEndpoints ( ) if self . tokenFile : self . writeToken ( )
Acquire a new registration token.

        Once successful, all tokens and expiry times are written to the token file (if specified on initialisation).
Acquire a new registration token .