Struct yup_oauth2::InstalledFlow [] [src]

pub struct InstalledFlow<C> { /* fields omitted */ }

Methods

impl<C> InstalledFlow<C> where C: BorrowMut<Client>
[src]

Starts a new Installed App auth flow. If HTTPRedirect is chosen as method and the server can't be started, the flow falls back to Interactive.

Handles the token request flow; it consists of the following steps: . Obtain a auhorization code with user cooperation or internal redirect. . Obtain a token and refresh token using that code. . Return that token

It's recommended not to use the DefaultAuthenticatorDelegate, but a specialized one.