Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$functions

$functions : 

Type

$options

$options : 

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

$oauth_loaded

$oauth_loaded : 

Type

$appid

$appid : 

Type

$appsecret

$appsecret : 

Type

$AUTHORIZATION_ENDPOINT

$AUTHORIZATION_ENDPOINT : 

Type

$TOKEN_ENDPOINT

$TOKEN_ENDPOINT : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

__construct()

__construct() 

settings()

settings() 

init_oauth()

init_oauth() 

login_button()

login_button() 

account_button()

account_button() 

register_button()

register_button() 

pre_register()

pre_register() 

get_account()

get_account() 

login()

login(  $strUsername,   $strPassword,   $boolUseHash = false) : \bool/array

User-Login for Discord

Parameters

$strUsername
$strPassword
$boolUseHash

Use Hash for comparing

Returns

\bool/array

logout()

logout() : boolean

User-Logout

Returns

boolean

autologin()

autologin(  $arrCookieData) : boolean

Autologin

Parameters

$arrCookieData

The Data ot the Session-Cookies

Returns

boolean

fetchUserData()

fetchUserData(  $strAccessToken) 

Parameters

$strAccessToken