pub struct ClientRegistrationConfig {
pub base_url: String,
pub require_authentication: bool,
pub default_secret_expiration: Option<i64>,
pub max_redirect_uris: usize,
pub allowed_grant_types: Vec<String>,
pub allowed_response_types: Vec<String>,
pub allowed_auth_methods: Vec<String>,
pub allow_public_clients: bool,
pub rate_limit_per_ip: u32,
pub rate_limit_window: Duration,
}Expand description
Dynamic Client Registration Manager configuration
Fields§
§base_url: StringBase URL for registration endpoints
require_authentication: boolWhether to require authentication for registration
default_secret_expiration: Option<i64>Default client secret expiration (seconds)
max_redirect_uris: usizeMaximum number of redirect URIs per client
allowed_grant_types: Vec<String>Allowed grant types
allowed_response_types: Vec<String>Allowed response types
allowed_auth_methods: Vec<String>Allowed authentication methods
allow_public_clients: boolWhether to allow public clients
rate_limit_per_ip: u32Rate limiting configuration
rate_limit_window: DurationTrait Implementations§
Source§impl Clone for ClientRegistrationConfig
impl Clone for ClientRegistrationConfig
Source§fn clone(&self) -> ClientRegistrationConfig
fn clone(&self) -> ClientRegistrationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClientRegistrationConfig
impl Debug for ClientRegistrationConfig
Auto Trait Implementations§
impl Freeze for ClientRegistrationConfig
impl RefUnwindSafe for ClientRegistrationConfig
impl Send for ClientRegistrationConfig
impl Sync for ClientRegistrationConfig
impl Unpin for ClientRegistrationConfig
impl UnwindSafe for ClientRegistrationConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
Converts
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>
Converts
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 more