PHP Class OneSignal\Config

Datei anzeigen Open project: norkunas/onesignal-php-api Class Usage Examples

Public Methods

Method Description
getApplicationAuthKey ( ) : string Get OneSignal application authentication key.
getApplicationId ( ) : string Get OneSignal application id.
getUserAuthKey ( ) : string Get user authentication key.
setApplicationAuthKey ( string $applicationAuthKey ) Set OneSignal application authentication key.
setApplicationId ( string $applicationId ) Set OneSignal application id.
setUserAuthKey ( string $userAuthKey ) Set user authentication key.

Method Details

getApplicationAuthKey() public method

Get OneSignal application authentication key.
public getApplicationAuthKey ( ) : string
return string

getApplicationId() public method

Get OneSignal application id.
public getApplicationId ( ) : string
return string

getUserAuthKey() public method

Get user authentication key.
public getUserAuthKey ( ) : string
return string

setApplicationAuthKey() public method

Set OneSignal application authentication key.
public setApplicationAuthKey ( string $applicationAuthKey )
$applicationAuthKey string

setApplicationId() public method

Set OneSignal application id.
public setApplicationId ( string $applicationId )
$applicationId string

setUserAuthKey() public method

Set user authentication key.
public setUserAuthKey ( string $userAuthKey )
$userAuthKey string