Qt Network Authorization provides a set of APIs that enable Qt applications

to obtain limited access to online accounts and HTTP services without exposing
users' passwords.

Currently, the supported authorization protocol is OAuth 1 & 2.

This is a part of upcoming Qt 5.9.
This commit is contained in:
zhuk 2017-06-15 08:31:04 +00:00
parent d4a8c1ec43
commit b0db021830
12 changed files with 177 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/06/15 08:31:04 zhuk Exp $
QT5NAME = QtNetworKAuth
COMMENT-main = Qt5 network authorization components
MULTI_PACKAGES = -main -examples -qch -html -docindex
SHARED_LIBS += Qt5NetworkAuth 0.0
WANTLIB = ${LIBCXX} GL Qt5Core Qt5Gui Qt5Network m pthread
FLAVORS = debug
PSEUDO_FLAVORS = no_examples no_qch no_html
FLAVOR ?=
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (qt/qtnetworkauth-opensource-src-5.9.0.tar.xz) = D8CLKPWzyy6oTcmm9BUGCzyVfpUXH0B8yQzl+Kn365Q=
SIZE (qt/qtnetworkauth-opensource-src-5.9.0.tar.xz) = 111984

View File

@ -0,0 +1,7 @@
Qt Network Authorization provides a set of APIs that enable Qt applications
to obtain limited access to online accounts and HTTP services without exposing
users' passwords.
Currently, the supported authorization protocol is OAuth 1 & 2.
This package contains QtNetworKAuth documentation index.

View File

@ -0,0 +1,7 @@
Qt Network Authorization provides a set of APIs that enable Qt applications
to obtain limited access to online accounts and HTTP services without exposing
users' passwords.
Currently, the supported authorization protocol is OAuth 1 & 2.
This package contains sources for QtNetworKAuth usage examples.

View File

@ -0,0 +1,7 @@
Qt Network Authorization provides a set of APIs that enable Qt applications
to obtain limited access to online accounts and HTTP services without exposing
users' passwords.
Currently, the supported authorization protocol is OAuth 1 & 2.
This package contains QtNetworKAuth HTML documentation.

View File

@ -0,0 +1,7 @@
Qt Network Authorization provides a set of APIs that enable Qt applications
to obtain limited access to online accounts and HTTP services without exposing
users' passwords.
Currently, the supported authorization protocol is OAuth 1 & 2.
This package contains actual libraries to be used by apps.

View File

@ -0,0 +1,7 @@
Qt Network Authorization provides a set of APIs that enable Qt applications
to obtain limited access to online accounts and HTTP services without exposing
users' passwords.
Currently, the supported authorization protocol is OAuth 1 & 2.
This package contains compiled QtNetworKAuth documentation.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-docindex,v 1.1.1.1 2017/06/15 08:31:04 zhuk Exp $
share/doc/qt5/qtnetworkauth/
share/doc/qt5/qtnetworkauth/qtnetworkauth.index

View File

@ -0,0 +1,28 @@
@comment $OpenBSD: PLIST-examples,v 1.1.1.1 2017/06/15 08:31:04 zhuk Exp $
lib/qt5/examples/oauth/
lib/qt5/examples/oauth/oauth.pro
lib/qt5/examples/oauth/redditclient/
lib/qt5/examples/oauth/redditclient/doc/
lib/qt5/examples/oauth/redditclient/doc/images/
lib/qt5/examples/oauth/redditclient/doc/images/redditclient-example.png
lib/qt5/examples/oauth/redditclient/doc/src/
lib/qt5/examples/oauth/redditclient/doc/src/qtnetworkauth-redditclient.qdoc
lib/qt5/examples/oauth/redditclient/main.cpp
lib/qt5/examples/oauth/redditclient/redditclient.pro
lib/qt5/examples/oauth/redditclient/redditmodel.cpp
lib/qt5/examples/oauth/redditclient/redditmodel.h
lib/qt5/examples/oauth/redditclient/redditwrapper.cpp
lib/qt5/examples/oauth/redditclient/redditwrapper.h
lib/qt5/examples/oauth/twittertimeline/
lib/qt5/examples/oauth/twittertimeline/doc/
lib/qt5/examples/oauth/twittertimeline/doc/images/
lib/qt5/examples/oauth/twittertimeline/doc/images/twittertimeline-example.png
lib/qt5/examples/oauth/twittertimeline/doc/src/
lib/qt5/examples/oauth/twittertimeline/doc/src/qtnetworkauth-twittertimeline.qdoc
lib/qt5/examples/oauth/twittertimeline/main.cpp
lib/qt5/examples/oauth/twittertimeline/twitter.cpp
lib/qt5/examples/oauth/twittertimeline/twitter.h
lib/qt5/examples/oauth/twittertimeline/twitterdialog.ui
lib/qt5/examples/oauth/twittertimeline/twittertimeline.pro
lib/qt5/examples/oauth/twittertimeline/twittertimelinemodel.cpp
lib/qt5/examples/oauth/twittertimeline/twittertimelinemodel.h

View File

@ -0,0 +1,48 @@
@comment $OpenBSD: PLIST-html,v 1.1.1.1 2017/06/15 08:31:04 zhuk Exp $
share/doc/qt5/qtnetworkauth/examples-manifest.xml
share/doc/qt5/qtnetworkauth/examples-qtnetworkauth.html
share/doc/qt5/qtnetworkauth/images/
share/doc/qt5/qtnetworkauth/images/arrow_bc.png
share/doc/qt5/qtnetworkauth/images/bgrContent.png
share/doc/qt5/qtnetworkauth/images/btn_next.png
share/doc/qt5/qtnetworkauth/images/btn_prev.png
share/doc/qt5/qtnetworkauth/images/bullet_dn.png
share/doc/qt5/qtnetworkauth/images/bullet_sq.png
share/doc/qt5/qtnetworkauth/images/home.png
share/doc/qt5/qtnetworkauth/images/ico_note.png
share/doc/qt5/qtnetworkauth/images/ico_note_attention.png
share/doc/qt5/qtnetworkauth/images/ico_out.png
share/doc/qt5/qtnetworkauth/images/logo.png
share/doc/qt5/qtnetworkauth/images/redditclient-example.png
share/doc/qt5/qtnetworkauth/images/twittertimeline-example.png
share/doc/qt5/qtnetworkauth/qabstractoauth-members.html
share/doc/qt5/qtnetworkauth/qabstractoauth.html
share/doc/qt5/qtnetworkauth/qabstractoauth2-members.html
share/doc/qt5/qtnetworkauth/qabstractoauth2.html
share/doc/qt5/qtnetworkauth/qabstractoauthreplyhandler-members.html
share/doc/qt5/qtnetworkauth/qabstractoauthreplyhandler.html
share/doc/qt5/qtnetworkauth/qoauth2authorizationcodeflow-members.html
share/doc/qt5/qtnetworkauth/qoauth2authorizationcodeflow.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-index.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-module.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-redditclient-example.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-redditclient-main-cpp.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-redditclient-redditclient-pro.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-redditclient-redditmodel-cpp.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-redditclient-redditmodel-h.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-redditclient-redditwrapper-cpp.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-redditclient-redditwrapper-h.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-twittertimeline-example.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-twittertimeline-main-cpp.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-twittertimeline-twitter-cpp.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-twittertimeline-twitter-h.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-twittertimeline-twitterdialog-ui.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-twittertimeline-twittertimeline-pro.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-twittertimeline-twittertimelinemodel-cpp.html
share/doc/qt5/qtnetworkauth/qtnetworkauth-twittertimeline-twittertimelinemodel-h.html
share/doc/qt5/qtnetworkauth/qtnetworkauth.qhp
share/doc/qt5/qtnetworkauth/qtnetworkauth.qhp.sha1
share/doc/qt5/qtnetworkauth/qtnetworkauth.tags
share/doc/qt5/qtnetworkauth/style/
share/doc/qt5/qtnetworkauth/style/offline-simple.css
share/doc/qt5/qtnetworkauth/style/offline.css

View File

@ -0,0 +1,43 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2017/06/15 08:31:04 zhuk Exp $
include/X11/qt5/QtNetworkAuth/
include/X11/qt5/QtNetworkAuth/${VERSION}/
include/X11/qt5/QtNetworkAuth/${VERSION}/QtNetworkAuth/
include/X11/qt5/QtNetworkAuth/${VERSION}/QtNetworkAuth/private/
include/X11/qt5/QtNetworkAuth/${VERSION}/QtNetworkAuth/private/qabstractoauth2_p.h
include/X11/qt5/QtNetworkAuth/${VERSION}/QtNetworkAuth/private/qabstractoauth_p.h
include/X11/qt5/QtNetworkAuth/${VERSION}/QtNetworkAuth/private/qoauth1_p.h
include/X11/qt5/QtNetworkAuth/${VERSION}/QtNetworkAuth/private/qoauth1signature_p.h
include/X11/qt5/QtNetworkAuth/${VERSION}/QtNetworkAuth/private/qoauth2authorizationcodeflow_p.h
include/X11/qt5/QtNetworkAuth/${VERSION}/QtNetworkAuth/private/qoauthhttpserverreplyhandler_p.h
include/X11/qt5/QtNetworkAuth/QAbstractOAuth
include/X11/qt5/QtNetworkAuth/QAbstractOAuth2
include/X11/qt5/QtNetworkAuth/QAbstractOAuthReplyHandler
include/X11/qt5/QtNetworkAuth/QOAuth1
include/X11/qt5/QtNetworkAuth/QOAuth1Signature
include/X11/qt5/QtNetworkAuth/QOAuth2AuthorizationCodeFlow
include/X11/qt5/QtNetworkAuth/QOAuthHttpServerReplyHandler
include/X11/qt5/QtNetworkAuth/QOAuthOobReplyHandler
include/X11/qt5/QtNetworkAuth/QtNetworkAuth
include/X11/qt5/QtNetworkAuth/QtNetworkAuthDepends
include/X11/qt5/QtNetworkAuth/QtNetworkAuthVersion
include/X11/qt5/QtNetworkAuth/qabstractoauth.h
include/X11/qt5/QtNetworkAuth/qabstractoauth2.h
include/X11/qt5/QtNetworkAuth/qabstractoauthreplyhandler.h
include/X11/qt5/QtNetworkAuth/qoauth1.h
include/X11/qt5/QtNetworkAuth/qoauth1signature.h
include/X11/qt5/QtNetworkAuth/qoauth2authorizationcodeflow.h
include/X11/qt5/QtNetworkAuth/qoauthglobal.h
include/X11/qt5/QtNetworkAuth/qoauthhttpserverreplyhandler.h
include/X11/qt5/QtNetworkAuth/qoauthoobreplyhandler.h
include/X11/qt5/QtNetworkAuth/qtnetworkauthversion.h
@lib lib/libQt5NetworkAuth.so.${LIBQt5NetworkAuth_VERSION}
lib/pkgconfig/Qt5NetworkAuth.pc
lib/qt5/cmake/Qt5NetworkAuth/
lib/qt5/cmake/Qt5NetworkAuth/Qt5NetworkAuthConfig.cmake
lib/qt5/cmake/Qt5NetworkAuth/Qt5NetworkAuthConfigVersion.cmake
lib/qt5/libQt5NetworkAuth.la
lib/qt5/libQt5NetworkAuth.prl
@lib lib/qt5/libQt5NetworkAuth.so.${LIBQt5NetworkAuth_VERSION}
lib/qt5/mkspecs/modules/qt_lib_networkauth.pri
lib/qt5/mkspecs/modules/qt_lib_networkauth_private.pri
lib/qt5/pkgconfig/Qt5NetworkAuth.pc

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-qch,v 1.1.1.1 2017/06/15 08:31:04 zhuk Exp $
share/doc/qt5/qtnetworkauth.qch