Gajus\Fuss\AccessToken::__construct PHP Method

__construct() public method

public __construct ( Gajus\Fuss\App $app, string $access_token, self::TYPE_USER | self::TYPE_APP | self::TYPE_PAGE $type )
$app Gajus\Fuss\App
$access_token string A string that identifies a user, app, or page and can be used by the app to make graph API calls.
$type self::TYPE_USER | self::TYPE_APP | self::TYPE_PAGE
    public function __construct($app, $access_token, $type)
    {
        $this->app = $app;
        $this->access_token = $access_token;
        $this->type = $type;
        $this->debugToken();
    }