Struct aws_sdk_ssooidc::output::CreateTokenOutput
source · #[non_exhaustive]pub struct CreateTokenOutput { /* private fields */ }
Implementations§
source§impl CreateTokenOutput
impl CreateTokenOutput
sourcepub fn access_token(&self) -> Option<&str>
pub fn access_token(&self) -> Option<&str>
An opaque token to access IAM Identity Center resources assigned to a user.
sourcepub fn token_type(&self) -> Option<&str>
pub fn token_type(&self) -> Option<&str>
Used to notify the client that the returned token is an access token. The supported type is BearerToken
.
sourcepub fn expires_in(&self) -> i32
pub fn expires_in(&self) -> i32
Indicates the time in seconds when an access token will expire.
sourcepub fn refresh_token(&self) -> Option<&str>
pub fn refresh_token(&self) -> Option<&str>
Currently, refreshToken
is not yet implemented and is not supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
sourcepub fn id_token(&self) -> Option<&str>
pub fn id_token(&self) -> Option<&str>
Currently, idToken
is not yet implemented and is not supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.
The identifier of the user that associated with the access token, if present.
source§impl CreateTokenOutput
impl CreateTokenOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateTokenOutput
.
Trait Implementations§
source§impl Clone for CreateTokenOutput
impl Clone for CreateTokenOutput
source§fn clone(&self) -> CreateTokenOutput
fn clone(&self) -> CreateTokenOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTokenOutput
impl Debug for CreateTokenOutput
source§impl PartialEq<CreateTokenOutput> for CreateTokenOutput
impl PartialEq<CreateTokenOutput> for CreateTokenOutput
source§fn eq(&self, other: &CreateTokenOutput) -> bool
fn eq(&self, other: &CreateTokenOutput) -> bool
self
and other
values to be equal, and is used
by ==
.