WebService::GitHub::OauthAuthorizations
Create a new authorization
WebService::GitHub::OauthAuthorizations.create-authorization( Str :$client-secret
, Str :$note
, Positional :$scopes
, Str :$client-id
, Str :$fingerprint
, Str :$note-url
)
Delete an authorization
WebService::GitHub::OauthAuthorizations.delete-authorization( Int(Str) $authorization-id
)
Delete a grant
WebService::GitHub::OauthAuthorizations.delete-grant( Int(Str) $grant-id
)
Get a single authorization
WebService::GitHub::OauthAuthorizations.get-authorization( Int(Str) $authorization-id
)
Get a single grant
WebService::GitHub::OauthAuthorizations.get-grant( Int(Str) $grant-id
)
Get-or-create an authorization for a specific app
WebService::GitHub::OauthAuthorizations.get-or-create-authorization-for-app( Str $client-id
, Str :$note
, Str :$note-url
, Str :$client-secret!
, Positional :$scopes
, Str :$fingerprint
)
Get-or-create an authorization for a specific app and fingerprint
WebService::GitHub::OauthAuthorizations.get-or-create-authorization-for-app-and-fingerprint( Str $client-id
, Str $fingerprint
, Str :$note
, Positional :$scopes
, Str :$note-url
, Str :$client-secret!
)
List your authorizations
WebService::GitHub::OauthAuthorizations.list-authorizations( Int(Str) :$per-page
, Int(Str) :$page
, Str :$client-id
)
List your grants
WebService::GitHub::OauthAuthorizations.list-grants( Int(Str) :$per-page
, Int(Str) :$page
, Str :$client-id
)
Update an existing authorization
WebService::GitHub::OauthAuthorizations.update-authorization( Int(Str) $authorization-id
, Str :$fingerprint
, Str :$note-url
, Positional :$add-scopes
, Str :$note
, Positional :$remove-scopes
, Positional :$scopes
)