Struct dropbox_sdk::default_client::UserAuthDefaultClient [−][src]
pub struct UserAuthDefaultClient { /* fields omitted */ }
This is supported on crate feature
default_client
only.Expand description
Default HTTP client using User authorization.
Implementations
Create a new client using the given OAuth2 authorization.
Create a new client from a TokenCache
, which lets you share the same tokens between
multiple clients.
Set a root which all subsequent paths are evaluated relative to.
The default, if this function is not called, is to behave as if it was called with
PathRoot::Home
.
See https://www.dropbox.com/developers/reference/path-root-header-modes for more information.