mirror of
https://github.com/girlbossceo/ruwuma.git
synced 2025-04-29 06:49:48 -04:00
client-api: Add GrantType::DeviceCode
It is necessary for MSC4108.
This commit is contained in:
parent
5dc3e0f81d
commit
8065ef2a10
1 changed files with 7 additions and 0 deletions
|
@ -287,6 +287,13 @@ pub mod msc2965 {
|
|||
/// [RFC6749]: https://datatracker.ietf.org/doc/html/rfc6749
|
||||
RefreshToken,
|
||||
|
||||
/// The device code grant type ([RFC8628]).
|
||||
///
|
||||
/// [RFC8628]: https://datatracker.ietf.org/doc/html/rfc8628
|
||||
#[cfg(feature = "unstable-msc4108")]
|
||||
#[ruma_enum(rename = "urn:ietf:params:oauth:grant-type:device_code")]
|
||||
DeviceCode,
|
||||
|
||||
#[doc(hidden)]
|
||||
_Custom(PrivOwnedStr),
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue