UrlRedirectInterface Class Reference

#include <network_oauth.h>

Inheritance diagram for UrlRedirectInterface:

Detailed Description

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;

Public Member Functions

 MAXON_OBSERVABLE (Result< void >, ObserverTokenRedirect,(const Url &url, Bool hasError), ObservableCombinerRunAllComponent)
 

Private Member Functions

 MAXON_INTERFACE (UrlRedirectInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.urlredirect")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( UrlRedirectInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.interface.urlredirect"   
)
private

◆ MAXON_OBSERVABLE()

MAXON_OBSERVABLE ( Result< void >  ,
ObserverTokenRedirect  ,
(const Url &url, Bool hasError)  ,
ObservableCombinerRunAllComponent   
)