Struct aws_sdk_ssooidc::output::CreateTokenOutput [−][src]
#[non_exhaustive]pub struct CreateTokenOutput {
pub access_token: Option<String>,
pub token_type: Option<String>,
pub expires_in: i32,
pub refresh_token: Option<String>,
pub id_token: Option<String>,
}
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.access_token: Option<String>
An opaque token to access AWS SSO resources assigned to a user.
token_type: Option<String>
Used to notify the client that the returned token is an access token. The supported type is BearerToken
.
expires_in: i32
Indicates the time in seconds when an access token will expire.
refresh_token: Option<String>
A token that, if present, can be used to refresh a previously issued access token that might have expired.
id_token: Option<String>
The identifier of the user that associated with the access token, if present.
Implementations
An opaque token to access AWS SSO resources assigned to a user.
Used to notify the client that the returned token is an access token. The supported type is BearerToken
.
Indicates the time in seconds when an access token will expire.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
Creates a new builder-style object to manufacture CreateTokenOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateTokenOutput
impl Send for CreateTokenOutput
impl Sync for CreateTokenOutput
impl Unpin for CreateTokenOutput
impl UnwindSafe for CreateTokenOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more