Function apps_slash_scope_token

Source
pub async fn apps_slash_scope_token(
    configuration: &Configuration,
    client_id: &str,
    apps_scope_token_request: AppsScopeTokenRequest,
) -> Result<Authorization, Error<AppsSlashScopeTokenError>>
Expand description

Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify which repositories the token can access and which permissions are granted to the token. Invalid tokens will return 404 NOT FOUND. You must use Basic Authentication when accessing this endpoint, using the client_id and client_secret of the GitHub App as the username and password.