Documentation

GitLab
in package

Tags
author

Roshan Gautam roshan.gautam@hotmail.com

Table of Contents

$config  : mixed
$io  : mixed
$process  : mixed
$remoteFilesystem  : mixed
__construct()  : mixed
Constructor.
authorizeOAuth()  : bool
Attempts to authorize a GitLab domain via OAuth.
authorizeOAuthInteractively()  : bool
Authorizes a GitLab domain interactively via OAuth.
createToken()  : mixed

Properties

$process

protected mixed $process

$remoteFilesystem

protected mixed $remoteFilesystem

Methods

authorizeOAuth()

Attempts to authorize a GitLab domain via OAuth.

public authorizeOAuth(string $originUrl) : bool
Parameters
$originUrl : string

The host this GitLab instance is located at

Return values
bool

true on success

authorizeOAuthInteractively()

Authorizes a GitLab domain interactively via OAuth.

public authorizeOAuthInteractively(string $scheme, string $originUrl[, string $message = null ]) : bool
Parameters
$scheme : string

Scheme used in the origin URL

$originUrl : string

The host this GitLab instance is located at

$message : string = null

The reason this authorization is required

Tags
throws
RuntimeException
throws
TransportException|Exception
Return values
bool

true on success

createToken()

private createToken(mixed $scheme, mixed $originUrl) : mixed
Parameters
$scheme : mixed
$originUrl : mixed
Return values
mixed

Search results