Expand description
Token verification and stdin reading utilities.
Provides functions to verify that an OAuth token is valid by calling
GET /user, and to read tokens from stdin (for piping).
Structs§
- User
Response - Minimal user response from
GET /userfor token verification.
Functions§
- read_
token_ from_ stdin - Read a token from stdin, trimming whitespace.
- verify_
token - Verify that an OAuth token is valid by calling
GET /user.