JGithubAccount::editAuthorisation
Method to edit an authorisation.
Signature
public function editAuthorisation(integer
$id,
[array
$scopes = '',
[array
$addScopes = '',
[array
$removeScopes = '',
[string
$note = '',
[string
$url = '']]]]] )
Parameters
-
$id
- ID of the authorisation to edit
-
$scopes
- Replaces the authorisation scopes with these.
-
$addScopes
- A list of scopes to add to this authorisation.
-
$removeScopes
- A list of scopes to remove from this authorisation.
-
$note
- A note to remind you what the OAuth token is for.
-
$url
- A URL to remind you what app the OAuth token is for.
Returns
Errors/Exceptions
-
DomainException
-
RuntimeException