#[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: i64Indicates the time at which the clientId and clientSecret were issued.
client_secret_expires_at: i64Indicates 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§fn eq(&self, other: &RegisterClientOutput) -> bool
fn eq(&self, other: &RegisterClientOutput) -> bool
self and other values to be equal, and is used
by ==.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.