[−][src]Trait yup_oauth2::authenticator_delegate::InstalledFlowDelegate
InstalledFlowDelegate methods are called when an installed flow needs to ask the application what to do in certain cases.
Provided methods
pub fn redirect_uri(&self) -> Option<&str>
[src]
Configure a custom redirect uri if needed.
pub fn present_user_url<'a>(
&'a self,
url: &'a str,
need_code: bool
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'a>>
[src]
&'a self,
url: &'a str,
need_code: bool
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'a>>
We need the user to navigate to a URL using their browser and potentially paste back a code (or maybe not). Whether they have to enter a code depends on the InstalledFlowReturnMethod used.