pianod2
multisource multiuser scriptable networked music player
Public Member Functions | Private Attributes | List of all members
Pandora::PartnerLoginRequest Class Reference
Inheritance diagram for Pandora::PartnerLoginRequest:
Inheritance graph
[legend]
Collaboration diagram for Pandora::PartnerLoginRequest:
Collaboration graph
[legend]

Public Member Functions

 PartnerLoginRequest (const JSONProtocolParameters &params, BlowFish *decrypt)
 
virtual void extractResponse (const Parsnip::Data &message) override
 Decode a response message, already converted to Parsnip Data, into some internal representation. More...
 
const std::string & getPartnerAuthToken ()
 
const std::string & getPartnerId ()
 
const time_t & getSyncTime ()
 
- Public Member Functions inherited from Pandora::Request
const std::string & url () const
 
bool debug () const
 
bool tlsEncrypt () const
 
bool blowfishEncrypt () const
 
Parsnip::DataretrieveRequestMessage ()
 Retrieve the Parsnip Data object with the request message. More...
 

Private Attributes

const BlowFishdecryptor { nullptr }
 
std::string authorization_token
 
std::string partner_id
 
time_t sync_time
 

Additional Inherited Members

- Public Types inherited from Pandora::Request
using Option = RequestOption
 
- Protected Member Functions inherited from Pandora::Request
 Request (Source *const src, const char *ep, Option options=Option::NONE)
 RPC method name or REST API endpoint. More...
 
- Protected Attributes inherited from Pandora::Request
Source *const source
 
Parsnip::Data request_message
 

Constructor & Destructor Documentation

◆ PartnerLoginRequest()

Pandora::PartnerLoginRequest::PartnerLoginRequest ( const JSONProtocolParameters params,
BlowFish decrypt 
)
inline
Here is the call graph for this function:

Member Function Documentation

◆ extractResponse()

virtual void Pandora::PartnerLoginRequest::extractResponse ( const Parsnip::Data message)
inlineoverridevirtual

Decode a response message, already converted to Parsnip Data, into some internal representation.

Parameters
messageThe message to be decoded.

Implements Pandora::Request.

Here is the call graph for this function:

◆ getPartnerAuthToken()

const std::string& Pandora::PartnerLoginRequest::getPartnerAuthToken ( )
inline
Here is the caller graph for this function:

◆ getPartnerId()

const std::string& Pandora::PartnerLoginRequest::getPartnerId ( )
inline
Here is the caller graph for this function:

◆ getSyncTime()

const time_t& Pandora::PartnerLoginRequest::getSyncTime ( )
inline
Here is the caller graph for this function:

Member Data Documentation

◆ authorization_token

std::string Pandora::PartnerLoginRequest::authorization_token
mutableprivate

◆ decryptor

const BlowFish* Pandora::PartnerLoginRequest::decryptor { nullptr }
private

◆ partner_id

std::string Pandora::PartnerLoginRequest::partner_id
mutableprivate

◆ sync_time

time_t Pandora::PartnerLoginRequest::sync_time
mutableprivate

The documentation for this class was generated from the following file: