pub struct FederateClientClassConfig {
pub client_id: String,
pub aud: String,
pub connector_id: Option<String>,
}Expand description
A second accepted Federate client class (W1: the client-side TUI harness).
Carries the same source-verification invariants as the hardcoded staging
www pin; it only selects the pinned client_id/aud and the Dex
connector pin. The client_id MUST NOT equal the reserved staging client
(cyberdione-www-staging) so the reserved-credential predicate — which
matches that exact (iss, client_id) pair — can never fire for this
class. This states predicate-level reservation behavior only; the output
credential profile and dispatch are owned by W1.3/W1.4.
Fields§
§client_id: StringOAuth client_id of the public client registered at the issuer.
aud: StringExpected aud (single string or single-element array) of the source
ID token for this class. Usually equal to client_id for a public
OIDC client; azp must always equal client_id.
connector_id: Option<String>Pinned Dex connector_id for this class. Defaults to atproto.
Trait Implementations§
Source§impl Clone for FederateClientClassConfig
impl Clone for FederateClientClassConfig
Source§fn clone(&self) -> FederateClientClassConfig
fn clone(&self) -> FederateClientClassConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FederateClientClassConfig
impl Debug for FederateClientClassConfig
Source§impl<'de> Deserialize<'de> for FederateClientClassConfig
impl<'de> Deserialize<'de> for FederateClientClassConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for FederateClientClassConfig
impl PartialEq for FederateClientClassConfig
Source§fn eq(&self, other: &FederateClientClassConfig) -> bool
fn eq(&self, other: &FederateClientClassConfig) -> bool
self and other values to be equal, and is used by ==.impl Eq for FederateClientClassConfig
impl StructuralPartialEq for FederateClientClassConfig
Auto Trait Implementations§
impl Freeze for FederateClientClassConfig
impl RefUnwindSafe for FederateClientClassConfig
impl Send for FederateClientClassConfig
impl Sync for FederateClientClassConfig
impl Unpin for FederateClientClassConfig
impl UnsafeUnpin for FederateClientClassConfig
impl UnwindSafe for FederateClientClassConfig
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request