google-cloud-auth 0.17.2

Google Cloud Platform server application authentication library.
Documentation
1
2
3
4
5
6
use async_trait::async_trait;

#[async_trait]
pub trait SubjectTokenSource: Send + Sync {
    async fn subject_token(&self) -> Result<String, super::Error>;
}