pub type GcpCredentials = Arc<dyn TokenProvider>;Expand description
Default Firebase Auth admin manager
Aliased Type§
struct GcpCredentials { /* private fields */ }Trait Implementations§
Source§impl Credentials for GcpCredentials
impl Credentials for GcpCredentials
Source§async fn get_access_token(
&self,
scopes: &[&str],
) -> Result<String, Report<CredentialsError>>
async fn get_access_token( &self, scopes: &[&str], ) -> Result<String, Report<CredentialsError>>
Implementation for generation of OAuth2 access token
Source§async fn get_project_id(&self) -> Result<String, Report<CredentialsError>>
async fn get_project_id(&self) -> Result<String, Report<CredentialsError>>
Implementation for getting GCP project id