Available on crate feature
experimental-oidc
and crate feature e2e-encryption
and non-WebAssembly only.Expand description
Types for the QR code login support defined in MSC4108.
Please note, QR code logins are only supported when using OIDC as the auththentication mechanism, native Matrix authentication does not support it.
This currently only implements the case where the new device is scanning the
QR code. To log in using a QR code, please take a look at the
Oidc::login_with_qr_code()
method
Structs§
- Named future for the
Oidc::login_with_qr_code()
method. - Data for the QR code login mechanism.
- Error response returned by server after requesting an access token.
Enums§
- There was a problem configuring the request.
- Basic access token error types.
- Error type describing failures in the interaction between the device attempting to log in and the OIDC provider.
- Basic access token error types.
- Error retrieving provider metadata.
- The Error type for the ECIES submodule.
- Error type returned by built-in HTTP clients when requests fail.
- Reasons why the login might have failed.
- Type telling us about the progress of the QR code login.
- Enum containing known login protocol types.
- Error type for the decoding of the
QrCodeData
. - The error type for the ECIES message decoding failures.
- The error type for failures while trying to log in a new device using a QR code.
- Messages that will be exchanged over the
SecureChannel
to log in a new device using a QR code. - The mode of the QR code login.
- The mode-specific data for the QR code.
- Error encountered while requesting access token.
- Error type for failures in when receiving or sending messages over the secure channel.