Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit d232b61

Browse files
committed
Run generated files updates & fix doc links
1 parent abab314 commit d232b61

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

crates/storage/src/oauth2/device_code_grant.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub trait OAuth2DeviceCodeGrantRepository: Send + Sync {
5555
/// * `rng`: A random number generator
5656
/// * `clock`: The clock used to generate timestamps
5757
/// * `params`: The parameters used to create the device code grant. See the
58-
/// fields of [`DeviceCodeGrantParams`]
58+
/// fields of [`OAuth2DeviceCodeGrantParams`]
5959
///
6060
/// # Errors
6161
///
@@ -128,7 +128,7 @@ pub trait OAuth2DeviceCodeGrantRepository: Send + Sync {
128128
/// Returns [`Self::Error`] if the underlying repository fails or if the
129129
/// device code grant is not in the [`Pending`] state
130130
///
131-
/// [`Pending`]: DeviceCodeGrantState::Pending
131+
/// [`Pending`]: mas_data_model::DeviceCodeGrantState::Pending
132132
async fn fulfill(
133133
&mut self,
134134
clock: &dyn Clock,
@@ -152,7 +152,7 @@ pub trait OAuth2DeviceCodeGrantRepository: Send + Sync {
152152
/// Returns [`Self::Error`] if the underlying repository fails or if the
153153
/// device code grant is not in the [`Pending`] state
154154
///
155-
/// [`Pending`]: DeviceCodeGrantState::Pending
155+
/// [`Pending`]: mas_data_model::DeviceCodeGrantState::Pending
156156
async fn reject(
157157
&mut self,
158158
clock: &dyn Clock,
@@ -176,7 +176,7 @@ pub trait OAuth2DeviceCodeGrantRepository: Send + Sync {
176176
/// Returns [`Self::Error`] if the underlying repository fails or if the
177177
/// device code grant is not in the [`Fulfilled`] state
178178
///
179-
/// [`Fulfilled`]: DeviceCodeGrantState::Fulfilled
179+
/// [`Fulfilled`]: mas_data_model::DeviceCodeGrantState::Fulfilled
180180
async fn exchange(
181181
&mut self,
182182
clock: &dyn Clock,

translations/en.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"action": {
33
"cancel": "Cancel",
44
"@cancel": {
5-
"context": "pages/consent.html:72:11-29, pages/login.html:100:13-31, pages/policy_violation.html:50:11-29, pages/register.html:64:13-31"
5+
"context": "pages/consent.html:72:11-29, pages/device_consent.html:76:13-31, pages/login.html:100:13-31, pages/policy_violation.html:50:11-29, pages/register.html:64:13-31"
66
},
77
"continue": "Continue",
88
"@continue": {
9-
"context": "pages/account/emails/add.html:45:26-46, pages/account/emails/verify.html:60:26-46, pages/consent.html:60:28-48, pages/login.html:62:30-50, pages/reauth.html:40:28-48, pages/register.html:59:28-48, pages/sso.html:45:28-48"
9+
"context": "pages/account/emails/add.html:45:26-46, pages/account/emails/verify.html:60:26-46, pages/consent.html:60:28-48, pages/device_consent.html:73:13-33, pages/device_link.html:50:26-46, pages/login.html:62:30-50, pages/reauth.html:40:28-48, pages/register.html:59:28-48, pages/sso.html:45:28-48"
1010
},
1111
"create_account": "Create Account",
1212
"@create_account": {
@@ -18,7 +18,7 @@
1818
},
1919
"sign_out": "Sign out",
2020
"@sign_out": {
21-
"context": "pages/consent.html:68:28-48, pages/index.html:36:28-48, pages/policy_violation.html:46:28-48, pages/sso.html:53:28-48, pages/upstream_oauth2/link_mismatch.html:32:24-44, pages/upstream_oauth2/suggest_link.html:40:26-46"
21+
"context": "pages/consent.html:68:28-48, pages/device_consent.html:85:30-50, pages/index.html:36:28-48, pages/policy_violation.html:46:28-48, pages/sso.html:53:28-48, pages/upstream_oauth2/link_mismatch.html:32:24-44, pages/upstream_oauth2/suggest_link.html:40:26-46"
2222
}
2323
},
2424
"app": {
@@ -246,7 +246,7 @@
246246
},
247247
"not_you": "Not %(username)s?",
248248
"@not_you": {
249-
"context": "pages/consent.html:65:11-67, pages/sso.html:50:11-67",
249+
"context": "pages/consent.html:65:11-67, pages/device_consent.html:82:13-69, pages/sso.html:50:11-67",
250250
"description": "Suggestions for the user to log in as a different user"
251251
},
252252
"or_separator": "Or",

0 commit comments

Comments
 (0)