#[non_exhaustive]pub struct RegisterClientOutput {
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub client_id_issued_at: i64,
pub client_secret_expires_at: i64,
pub authorization_endpoint: Option<String>,
pub token_endpoint: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_id: Option<String>
The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.
client_secret: Option<String>
A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.
client_id_issued_at: i64
Indicates the time at which the clientId
and clientSecret
were issued.
client_secret_expires_at: i64
Indicates the time at which the clientId
and clientSecret
will become invalid.
An endpoint that the client can use to request authorization.
token_endpoint: Option<String>
An endpoint that the client can use to create tokens.
Implementations§
source§impl RegisterClientOutput
impl RegisterClientOutput
sourcepub fn client_id(&self) -> Option<&str>
pub fn client_id(&self) -> Option<&str>
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) -> Option<&str>
pub fn client_secret(&self) -> Option<&str>
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) -> i64
pub fn client_id_issued_at(&self) -> i64
Indicates the time at which the clientId
and clientSecret
were issued.
sourcepub fn client_secret_expires_at(&self) -> i64
pub fn client_secret_expires_at(&self) -> i64
Indicates the time at which the clientId
and clientSecret
will become invalid.
An endpoint that the client can use to request authorization.
sourcepub fn token_endpoint(&self) -> Option<&str>
pub fn token_endpoint(&self) -> Option<&str>
An endpoint that the client can use to create tokens.
source§impl RegisterClientOutput
impl RegisterClientOutput
sourcepub fn builder() -> RegisterClientOutputBuilder
pub fn builder() -> RegisterClientOutputBuilder
Creates a new builder-style object to manufacture RegisterClientOutput
.
Trait Implementations§
source§impl Clone for RegisterClientOutput
impl Clone for RegisterClientOutput
source§fn clone(&self) -> RegisterClientOutput
fn clone(&self) -> RegisterClientOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegisterClientOutput
impl Debug for RegisterClientOutput
source§impl PartialEq for RegisterClientOutput
impl PartialEq for RegisterClientOutput
source§impl RequestId for RegisterClientOutput
impl RequestId for RegisterClientOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for RegisterClientOutput
Auto Trait Implementations§
impl Freeze for RegisterClientOutput
impl RefUnwindSafe for RegisterClientOutput
impl Send for RegisterClientOutput
impl Sync for RegisterClientOutput
impl Unpin for RegisterClientOutput
impl UnwindSafe for RegisterClientOutput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)