tangled
alpha
login
or
join now
nekomimi.pet
/
jacquard
forked from
nonbinary.computer/jacquard
0
fork
atom
A better Rust ATProto crate
0
fork
atom
overview
issues
pulls
pipelines
couple noisy logs
Orual
4 months ago
5c79bb76
6c3df8fe
+14
-14
2 changed files
expand all
collapse all
unified
split
crates
jacquard-identity
src
lib.rs
jacquard-oauth
src
client.rs
+7
-7
crates/jacquard-identity/src/lib.rs
···
328
328
impl JacquardResolver {
329
329
/// Create a new instance of the default resolver with all options (except DNS) up front
330
330
pub fn new(http: reqwest::Client, opts: ResolverOptions) -> Self {
331
331
-
#[cfg(feature = "tracing")]
332
332
-
tracing::info!(
333
333
-
public_fallback = opts.public_fallback_for_handle,
334
334
-
validate_doc_id = opts.validate_doc_id,
335
335
-
plc_source = ?opts.plc_source,
336
336
-
"jacquard resolver created"
337
337
-
);
331
331
+
// #[cfg(feature = "tracing")]
332
332
+
// tracing::info!(
333
333
+
// public_fallback = opts.public_fallback_for_handle,
334
334
+
// validate_doc_id = opts.validate_doc_id,
335
335
+
// plc_source = ?opts.plc_source,
336
336
+
// "jacquard resolver created"
337
337
+
// );
338
338
339
339
Self {
340
340
http,
+7
-7
crates/jacquard-oauth/src/client.rs
···
103
103
S: ClientAuthStore,
104
104
{
105
105
pub fn new_from_resolver(store: S, client: T, client_data: ClientData<'static>) -> Self {
106
106
-
#[cfg(feature = "tracing")]
107
107
-
tracing::info!(
108
108
-
redirect_uris = ?client_data.config.redirect_uris,
109
109
-
scopes = ?client_data.config.scopes,
110
110
-
has_keyset = client_data.keyset.is_some(),
111
111
-
"oauth client created:"
112
112
-
);
106
106
+
// #[cfg(feature = "tracing")]
107
107
+
// tracing::info!(
108
108
+
// redirect_uris = ?client_data.config.redirect_uris,
109
109
+
// scopes = ?client_data.config.scopes,
110
110
+
// has_keyset = client_data.keyset.is_some(),
111
111
+
// "oauth client created:"
112
112
+
// );
113
113
114
114
let client = Arc::new(client);
115
115
let registry = Arc::new(SessionRegistry::new(store, client.clone(), client_data));