pub struct CreateClientBody {
pub client_id: Option<String>,
pub redirect_uris: Vec<String>,
pub name: String,
pub logo_url: Option<String>,
pub token_endpoint_auth_method: String,
pub default_scopes: Vec<String>,
pub require_consent: bool,
pub grant_types: Vec<String>,
pub response_types: Vec<String>,
pub pkce_required: bool,
pub backchannel_logout_uri: Option<String>,
}Expand description
Body for POST /admin/oidc/clients. We accept the canonical
OidcClient shape minus created_at (stamped server-side) and
minus client_secret_hash (we mint it for confidential clients).
Fields§
§client_id: Option<String>§redirect_uris: Vec<String>§name: String§logo_url: Option<String>§token_endpoint_auth_method: String§default_scopes: Vec<String>§require_consent: bool§grant_types: Vec<String>§response_types: Vec<String>§pkce_required: bool§backchannel_logout_uri: Option<String>Trait Implementations§
Source§impl Clone for CreateClientBody
impl Clone for CreateClientBody
Source§fn clone(&self) -> CreateClientBody
fn clone(&self) -> CreateClientBody
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 CreateClientBody
impl Debug for CreateClientBody
Source§impl<'de> Deserialize<'de> for CreateClientBody
impl<'de> Deserialize<'de> for CreateClientBody
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateClientBody
impl RefUnwindSafe for CreateClientBody
impl Send for CreateClientBody
impl Sync for CreateClientBody
impl Unpin for CreateClientBody
impl UnsafeUnpin for CreateClientBody
impl UnwindSafe for CreateClientBody
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