Skip to main content

bearer_value

Function bearer_value 

Source
pub fn bearer_value(secret: String) -> String
Expand description

The value to use as a token for a stored secret: the access_token of an OAuth blob, or the secret itself when it is a plain key. An OAuth-connected GitHub account used to reach agents as GH_TOKEN='{"access_token":…}' (spec §2.3).