Enum yup_oauth2::InstalledFlowReturnMethod [−][src]
pub enum InstalledFlowReturnMethod {
Interactive,
HTTPRedirect,
}
Expand description
Method by which the user agent return token to this application.
cf. https://developers.google.com/identity/protocols/OAuth2InstalledApp#choosingredirecturi
Variants
Involves showing a URL to the user and asking to copy a code from their browser (default)
Involves spinning up a local HTTP server and Google redirecting the browser to the server with a URL containing the code (preferred, but not as reliable).