pub async fn create_token_source_from_project( project: &Project, config: Config<'_>) -> Result<Box<dyn TokenSource>, Error>
create_token_source_from_project creates the token source.
103 104 105 106
pub async fn create_token_source(config: Config<'_>) -> Result<Box<dyn TokenSource>, error::Error> { let project = project().await?; create_token_source_from_project(&project, config).await }