Open zunlongzhou opened 12 months ago
If you're referring to SMS in two-factor authentication, you should instead use an application-specific password along with your Microsoft account's email address. If your account lacks either of an email or password, you should be able to add them whilst keeping whatever existing authentication method you have.
Otherwise, if you're actually using a phone number and receiving an SMS as the entire login flow, you'll need to watch that flow from browser dev tools and figure out which requests are needed to produce a Skype API token. See Skype protocol > Credentials in the docs for the existing endpoints used, and the various auth providers that implement those endpoint calls.
I also found that Windows clients can log in with only phone and SMS verification codes, and can be used for more than a month at a time without the need to log in again. If I use the web request method you provided, can I maintain login status for a long time without the need to log in again
If it is the principle of restoring web requests, it should be the same as logging in to a browser, and will log in again based on the token expiration time
Before we start...
Summary
I found that the author did not provide the SMS login method. If I want to add this feature, what should I do? Do you have any reference materials or possible technical paths to share
Code sample
SkPy version
latest
Python version
3.7
Anything else?
No response