Expand description
This library provides auto-renewed tokens for GCP service authentication.
§Example
use gouth::Token;
let token = Token::new().unwrap();
println!("authorization: {}", token.header_value().unwrap());
Structs§
- Builder
- Builder configures the credentials source or scopes of OAuth 2.0.
- Error
- Represents errors that can occur during getting token.
- Token
- The access token is acquired at the required timing. It will check the expiration date at the time of request and update it if it has expired.