Skip to content

antonio-antuan/vk-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vk-auth.

Crate allows you to retrieve access token to API with just phone/email, password and app_id. For usage example see examples/main.rs.

Example

➜  vk_auth git:(master) ✗ APP_ID=YOUR_APP_ID EMAIL=YOUR_PHONE_OR_EMAIL PASSWORD=PASSWORD cargo run --example main
   Compiling vk-auth v0.1.0 (/home/anton/Projects/vk_auth)
    Finished dev [unoptimized + debuginfo] target(s) in 3.00s
     Running `target/debug/examples/main`
AccessToken { access_token: "token", expires_in: 86400s, user_id: "user_id" }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages