#include <network_oauth.h>
UrlRedirectInterface can be used to pass browser url redirects into the NetworkOAuthSessionInterface::InitV2Session function. InitV2Session will hook up to the ObserverTokenRedirect to catch all browser redirects. The html browser needs to forward all url redirect events to that observable. e.g. dialog->_redirectRef.ObserverTokenRedirect().Notify(nUrl) iferr_return;
公共成员函数 |
|
MAXON_OBSERVABLE ( Result < void >, ObserverTokenRedirect,(const Url &url, Bool hasError), ObservableCombinerRunAllComponent) |
私有成员函数 |
|
MAXON_INTERFACE ( UrlRedirectInterface , MAXON_REFERENCE_NORMAL , "net.maxon.interface.urlredirect") |
|
private |
MAXON_OBSERVABLE | ( | Result < void > | , |
ObserverTokenRedirect | , | ||
(const Url &url, Bool hasError) | , | ||
ObservableCombinerRunAllComponent | |||
) |