Handles replies to OAuth authentication requests. More…
Inherited by: QOAuthOobReplyHandler, QOAuthHttpServerReplyHandler
QAbstractOAuthReplyHandler class handles the answers to all OAuth authentication requests. This class is designed as a base whose subclasses implement custom behavior in the
- class PySide6.QtNetworkAuth.QAbstractOAuthReplyHandler([parent=None])#
Constructs a reply handler as a child of
- abstract PySide6.QtNetworkAuth.QAbstractOAuthReplyHandler.callback()#
- Return type
Returns an absolute URI that the server will redirect the resource owner back to when the Resource Owner Authorization step is completed. If the client is unable to receive callbacks or a callback URI has been established via other means, the parameter value must be set to “oob” (all lower-case), to indicate an out-of-band configuration.
Derived classes should implement this function to provide the expected callback type.
This signal is emitted when a callback request is received:
data contains the information before parsing.
This signal is emitted when the reply from the server is received, with
values containing the token credentials and any additional information the server may have returned. When this signal is emitted, the authorization process is complete.
- abstract PySide6.QtNetworkAuth.QAbstractOAuthReplyHandler.networkReplyFinished(reply)#
After the server determines whether the request is valid this function will be called. Reimplement it to get the data received from the server wrapped in
This signal is emitted when an HTTP request finishes and the data is available.
data contains the response before parsing.
This signal is emitted when new
tokens are received from the server.