@@ -94,7 +94,7 @@ simpler methods:
94
94
- ` Oidc::fetch_authentication_issuer() ` was removed. To check if the
95
95
homeserver supports OAuth 2.0, use ` Oidc::provider_metadata() ` . To get the
96
96
issuer, use ` VerifiedProviderMetadata::issuer() ` .
97
- - ` Oidc::provider_metadata() ` returns an ` OauthDiscoveryError ` . It has a
97
+ - ` Oidc::provider_metadata() ` returns an ` OAuthDiscoveryError ` . It has a
98
98
` NotSupported ` variant and an ` is_not_supported() ` method to check if the
99
99
error is due to the server not supporting OAuth 2.0.
100
100
- ` OidcError::MissingAuthenticationIssuer ` was removed.
@@ -157,6 +157,19 @@ simpler methods:
157
157
- [ ** breaking** ] The ` server_url ` and ` server_response ` methods of
158
158
` SsoLoginBuilder ` are replaced by ` server_builder() ` , which allows more
159
159
fine-grained settings for the server.
160
+ - [ ** breaking** ] : Rename the ` Oidc ` API to ` OAuth ` , since it's using almost
161
+ exclusively OAuth 2.0 rather than OpenID Connect.
162
+ ([ #4805 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/4805 ) )
163
+ - The ` oidc ` module was renamed to ` oauth ` .
164
+ - ` Client::oidc() ` was renamed to ` Client::oauth() ` and the ` AuthApi::Oidc `
165
+ variant was renamed to ` AuthApi::OAuth ` .
166
+ - ` OidcSession ` was renamed to ` OAuthSession ` and the ` AuthSession::Oidc `
167
+ variant was renamed to ` AuthSession::OAuth ` .
168
+ - ` OidcAuthCodeUrlBuilder ` and ` OidcAuthorizationData ` were renamed to
169
+ ` OAuthAuthCodeUrlBuilder ` and ` OAuthAuthorizationData ` .
170
+ - ` OidcError ` was renamed to ` OAuthError ` and the ` RefreshTokenError::Oidc `
171
+ variant was renamed to ` RefreshTokenError::OAuth ` .
172
+ - ` Oidc::provider_metadata() ` was renamed to ` OAuth::server_metadata() ` .
160
173
161
174
## [ 0.10.0] - 2025-02-04
162
175
0 commit comments