|
Revision 58, 0.6 kB
(checked in by ploum, 22 months ago)
|
|
First step to manage your BTS account !
|
| Line | |
|---|
| 1 | #!/usr/bin/python |
|---|
| 2 | # -*- coding: utf-8 -*- |
|---|
| 3 | import sys, string, xml.dom.minidom, os |
|---|
| 4 | |
|---|
| 5 | ####### Storage of username/password for the BTS ######## |
|---|
| 6 | class user: |
|---|
| 7 | |
|---|
| 8 | # If you want to provide another way to manage login/password |
|---|
| 9 | # you have to implement those functions |
|---|
| 10 | def login(self): |
|---|
| 11 | return("") |
|---|
| 12 | |
|---|
| 13 | def password(self): |
|---|
| 14 | return("") |
|---|
| 15 | |
|---|
| 16 | # Warning ! This function only change the stored login |
|---|
| 17 | # it does NOT change the login in the remote BTS |
|---|
| 18 | def change_login(self,string): |
|---|
| 19 | return("blabla") |
|---|
| 20 | |
|---|
| 21 | # Warning ! This function only change the stored password |
|---|
| 22 | # it does NOT change the password in the remote BTS |
|---|
| 23 | def change_password(self,string): |
|---|
| 24 | return("blabla") |
|---|