Crates.io | vk-auth |
lib.rs | vk-auth |
version | 0.1.0 |
source | src |
created_at | 2021-06-24 16:43:59.427666 |
updated_at | 2021-06-24 16:43:59.427666 |
description | Vkontakte (vk.com) authorization client |
homepage | https://github.com/aCLr/vk-auth |
repository | https://github.com/aCLr/vk-auth |
max_upload_size | |
id | 414545 |
size | 49,708 |
Crate allows you to retrieve access token to API with just phone/email, password and app_id. For usage example see examples/main.rs
.
➜ 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" }