Available on crate features
testing only.Expand description
Augmented ClientBuilder that can set up an already logged-in user.
Modules§
- oauth
- Mock client data for the OAuth 2.0 API.
Structs§
- Mock
Client Builder - An augmented
ClientBuilderthat also allows for handling session login.
Functions§
- mock_
matrix_ session - A
MatrixSession, for unit or integration tests. - mock_
prev_ session_ tokens_ with_ refresh - Different session tokens than the ones returned by
mock_session_tokens_with_refresh(). - mock_
session_ meta - A
SessionMeta, for unit or integration tests. - mock_
session_ tokens - A
SessionTokensincluding only an access token, for unit or integration tests. - mock_
session_ tokens_ with_ refresh - A
SessionTokensincluding an access token and a refresh token, for unit or integration tests.