Struct aws_sdk_ssooidc::output::CreateTokenOutput
source · [−]#[non_exhaustive]pub struct CreateTokenOutput { /* private fields */ }
Implementations
sourceimpl CreateTokenOutput
impl CreateTokenOutput
sourcepub fn access_token(&self) -> Option<&str>
pub fn access_token(&self) -> Option<&str>
An opaque token to access Amazon Web Services SSO 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 Amazon Web Services SSO OIDC implementation, see Considerations for Using this Guide in the Amazon Web Services SSO 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 Amazon Web Services SSO OIDC implementation, see Considerations for Using this Guide in the Amazon Web Services SSO OIDC API Reference.
The identifier of the user that associated with the access token, if present.
sourceimpl CreateTokenOutput
impl CreateTokenOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateTokenOutput
.
Trait Implementations
sourceimpl Clone for CreateTokenOutput
impl Clone for CreateTokenOutput
sourcefn clone(&self) -> CreateTokenOutput
fn clone(&self) -> CreateTokenOutput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more