Skip to main content

resolve_account_secret

Function resolve_account_secret 

Source
pub fn resolve_account_secret(
    account: &IdentityAccount,
    id_store: &Arc<Store>,
    identity_store: &Arc<Store>,
) -> Result<String, ResolverError>
Expand description

resolve_secret for an account about to go into an agent’s environment: an OAuth token that is due is refreshed first.