pub fn mock_session(tokens: SessionTokens) -> OAuthSession
Available on crate feature
testing
only.Expand description
An OAuthSession
to restore, for unit or integration tests.
pub fn mock_session(tokens: SessionTokens) -> OAuthSession
testing
only.An OAuthSession
to restore, for unit or integration tests.