#[non_exhaustive]pub struct RegisterClientOutputBuilder { /* private fields */ }
Expand description
A builder for RegisterClientOutput
.
Implementations§
Source§impl RegisterClientOutputBuilder
impl RegisterClientOutputBuilder
Sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.
Sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.
Sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.
Sourcepub fn client_secret(self, input: impl Into<String>) -> Self
pub fn client_secret(self, input: impl Into<String>) -> Self
A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.
Sourcepub fn set_client_secret(self, input: Option<String>) -> Self
pub fn set_client_secret(self, input: Option<String>) -> Self
A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.
Sourcepub fn get_client_secret(&self) -> &Option<String>
pub fn get_client_secret(&self) -> &Option<String>
A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.
Sourcepub fn client_id_issued_at(self, input: i64) -> Self
pub fn client_id_issued_at(self, input: i64) -> Self
Indicates the time at which the clientId
and clientSecret
were issued.
Sourcepub fn set_client_id_issued_at(self, input: Option<i64>) -> Self
pub fn set_client_id_issued_at(self, input: Option<i64>) -> Self
Indicates the time at which the clientId
and clientSecret
were issued.
Sourcepub fn get_client_id_issued_at(&self) -> &Option<i64>
pub fn get_client_id_issued_at(&self) -> &Option<i64>
Indicates the time at which the clientId
and clientSecret
were issued.
Sourcepub fn client_secret_expires_at(self, input: i64) -> Self
pub fn client_secret_expires_at(self, input: i64) -> Self
Indicates the time at which the clientId
and clientSecret
will become invalid.
Sourcepub fn set_client_secret_expires_at(self, input: Option<i64>) -> Self
pub fn set_client_secret_expires_at(self, input: Option<i64>) -> Self
Indicates the time at which the clientId
and clientSecret
will become invalid.
Sourcepub fn get_client_secret_expires_at(&self) -> &Option<i64>
pub fn get_client_secret_expires_at(&self) -> &Option<i64>
Indicates the time at which the clientId
and clientSecret
will become invalid.
An endpoint that the client can use to request authorization.
An endpoint that the client can use to request authorization.
An endpoint that the client can use to request authorization.
Sourcepub fn token_endpoint(self, input: impl Into<String>) -> Self
pub fn token_endpoint(self, input: impl Into<String>) -> Self
An endpoint that the client can use to create tokens.
Sourcepub fn set_token_endpoint(self, input: Option<String>) -> Self
pub fn set_token_endpoint(self, input: Option<String>) -> Self
An endpoint that the client can use to create tokens.
Sourcepub fn get_token_endpoint(&self) -> &Option<String>
pub fn get_token_endpoint(&self) -> &Option<String>
An endpoint that the client can use to create tokens.
Sourcepub fn build(self) -> RegisterClientOutput
pub fn build(self) -> RegisterClientOutput
Consumes the builder and constructs a RegisterClientOutput
.
Trait Implementations§
Source§impl Clone for RegisterClientOutputBuilder
impl Clone for RegisterClientOutputBuilder
Source§fn clone(&self) -> RegisterClientOutputBuilder
fn clone(&self) -> RegisterClientOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RegisterClientOutputBuilder
impl Debug for RegisterClientOutputBuilder
Source§impl Default for RegisterClientOutputBuilder
impl Default for RegisterClientOutputBuilder
Source§fn default() -> RegisterClientOutputBuilder
fn default() -> RegisterClientOutputBuilder
impl StructuralPartialEq for RegisterClientOutputBuilder
Auto Trait Implementations§
impl Freeze for RegisterClientOutputBuilder
impl RefUnwindSafe for RegisterClientOutputBuilder
impl Send for RegisterClientOutputBuilder
impl Sync for RegisterClientOutputBuilder
impl Unpin for RegisterClientOutputBuilder
impl UnwindSafe for RegisterClientOutputBuilder
Blanket Implementations§
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)