access_token = $payload->access_token; $this->token_type = $payload->token_type; $this->expires_in = $payload->expires_in; $this->refresh_token = $payload->refresh_token; $this->scope = $payload->scope; $this->timestamp = time(); } }