Struct tame_oauth::gcp::ServiceAccountInfo
source · [−]pub struct ServiceAccountInfo {
pub private_key: String,
pub client_email: String,
pub token_uri: String,
}
Expand description
Minimal parts needed from a GCP service acccount key for token acquisition
Fields
private_key: String
The private key we use to sign
client_email: String
The unique id used as the issuer of the JWT claim
token_uri: String
The URI we send the token requests to, eg https://oauth2.googleapis.com/token
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ServiceAccountInfo
impl Send for ServiceAccountInfo
impl Sync for ServiceAccountInfo
impl Unpin for ServiceAccountInfo
impl UnwindSafe for ServiceAccountInfo
Blanket Implementations
Mutably borrows from an owned value. Read more