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