#[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.