File indexing completed on 2025-01-19 03:55:40

0001 #ifndef O2SPOTIFY_H
0002 #define O2SPOTIFY_H
0003 
0004 #include "o2.h"
0005 
0006 /// Spotify's dialect of OAuth 2.0
0007 class O0_EXPORT O2Spotify: public O2 {
0008     Q_OBJECT
0009 
0010 public:
0011     explicit O2Spotify(QObject *parent = 0);
0012 
0013     struct Scope {
0014         static const QString PLAYLIST_READ_PRIVATE;
0015         static const QString PLAYLIST_READ_COLLABORATIVE;
0016         static const QString PLAYLIST_MODIFY_PUBLIC;
0017         static const QString PLAYLIST_MODIFY_PRIVATE;
0018         static const QString STREAMING;
0019         static const QString USER_FOLLOW_MODIFY;
0020         static const QString USER_FOLLOW_READ;
0021         static const QString USER_LIBRARY_READ;
0022         static const QString USER_LIBRARY_MODIFY;
0023         static const QString USER_READ_PRIVATE;
0024         static const QString USER_READ_BIRTHDATE;
0025         static const QString USER_READ_EMAIL;
0026         static const QString USER_TOP_READ;
0027 
0028         static QStringList allScopesList();
0029     };
0030 };
0031 
0032 #endif // O2SPOTIFY_H