An easy-to-host PDS on the ATProtocol, MacOS. Grandma-approved.

fix(relay): add #[allow(dead_code)] to unused items in oauth_token.rs

- Add individual field-level #[allow(dead_code)] annotations to TokenRequestForm fields: code, redirect_uri, client_id, code_verifier, refresh_token (grant_type is read and not annotated)
- Add struct-level #[allow(dead_code)] to TokenResponse (used by future grant implementations)
- Add method-level #[allow(dead_code)] to OAuthTokenError::with_nonce (used by future DPoP nonce error handling)

Follows project convention of field/method-level annotations as seen in app.rs and auth/mod.rs.

+7
+7
crates/relay/src/routes/oauth_token.rs
··· 25 25 pub struct TokenRequestForm { 26 26 pub grant_type: Option<String>, 27 27 // authorization_code grant 28 + #[allow(dead_code)] 28 29 pub code: Option<String>, 30 + #[allow(dead_code)] 29 31 pub redirect_uri: Option<String>, 32 + #[allow(dead_code)] 30 33 pub client_id: Option<String>, 34 + #[allow(dead_code)] 31 35 pub code_verifier: Option<String>, 32 36 // refresh_token grant 37 + #[allow(dead_code)] 33 38 pub refresh_token: Option<String>, 34 39 } 35 40 36 41 /// Successful token endpoint response body (RFC 6749 §5.1). 42 + #[allow(dead_code)] 37 43 #[derive(Debug, Serialize)] 38 44 pub struct TokenResponse { 39 45 pub access_token: String, ··· 64 70 } 65 71 } 66 72 73 + #[allow(dead_code)] 67 74 pub fn with_nonce(error: &'static str, error_description: &'static str, nonce: String) -> Self { 68 75 Self { 69 76 error,