class GetAccessToken

Methods

static string
byRid(int $rid)

No description

static string
byRepoFullName(string|null $repo_full_name, int|null $rid = null)

No description

static mixed
getGitHubAppAccessToken($rid = null, string $repo_full_name = null, int $installation_id = null)

No description

static string
getAccessTokenByUid(int $uid, $git_type = 'github')

No description

Details

at line 17
static string byRid(int $rid)

Parameters

int $rid

Return Value

string

Exceptions

Exception

at line 27
static string byRepoFullName(string|null $repo_full_name, int|null $rid = null)

Parameters

string|null $repo_full_name
int|null $rid

Return Value

string

Exceptions

Exception

at line 64
static mixed getGitHubAppAccessToken($rid = null, string $repo_full_name = null, int $installation_id = null)

Parameters

$rid
string $repo_full_name
int $installation_id

Return Value

mixed

Exceptions

Exception

at line 89
static string getAccessTokenByUid(int $uid, $git_type = 'github')

Parameters

int $uid
$git_type

Return Value

string

Exceptions

Exception