Struct aws_sdk_ssooidc::input::CreateTokenInput
source · #[non_exhaustive]pub struct CreateTokenInput { /* private fields */ }
Implementations§
source§impl CreateTokenInput
impl CreateTokenInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateToken, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateToken, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateToken
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateTokenInput
.
source§impl CreateTokenInput
impl CreateTokenInput
sourcepub fn client_id(&self) -> Option<&str>
pub fn client_id(&self) -> Option<&str>
The unique identifier string for each client. This value should come from the persisted result of the RegisterClient
API.
sourcepub fn client_secret(&self) -> Option<&str>
pub fn client_secret(&self) -> Option<&str>
A secret string generated for the client. This value should come from the persisted result of the RegisterClient
API.
sourcepub fn grant_type(&self) -> Option<&str>
pub fn grant_type(&self) -> Option<&str>
Supports grant types for the authorization code, refresh token, and device code request. For device code requests, specify the following value:
urn:ietf:params:oauth:grant-type:device_code
For information about how to obtain the device code, see the StartDeviceAuthorization
topic.
sourcepub fn device_code(&self) -> Option<&str>
pub fn device_code(&self) -> Option<&str>
Used only when calling this API for the device code grant type. This short-term code is used to identify this authentication attempt. This should come from an in-memory reference to the result of the StartDeviceAuthorization
API.
sourcepub fn code(&self) -> Option<&str>
pub fn code(&self) -> Option<&str>
The authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token.
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.
The token used to obtain an access token in the event that the access token is invalid or expired.
sourcepub fn scope(&self) -> Option<&[String]>
pub fn scope(&self) -> Option<&[String]>
The list of scopes that is defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
sourcepub fn redirect_uri(&self) -> Option<&str>
pub fn redirect_uri(&self) -> Option<&str>
The location of the application that will receive the authorization code. Users authorize the service to send the request to this location.
Trait Implementations§
source§impl Clone for CreateTokenInput
impl Clone for CreateTokenInput
source§fn clone(&self) -> CreateTokenInput
fn clone(&self) -> CreateTokenInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTokenInput
impl Debug for CreateTokenInput
source§impl PartialEq<CreateTokenInput> for CreateTokenInput
impl PartialEq<CreateTokenInput> for CreateTokenInput
source§fn eq(&self, other: &CreateTokenInput) -> bool
fn eq(&self, other: &CreateTokenInput) -> bool
self
and other
values to be equal, and is used
by ==
.