[−][src]Trait rusoto_sso_oidc::SsoOidc
Trait representing the capabilities of the SSO OIDC API. SSO OIDC clients implement this trait.
Required methods
#[must_use]pub fn create_token<'life0, 'async_trait>(
&'life0 self,
input: CreateTokenRequest
) -> Pin<Box<dyn Future<Output = Result<CreateTokenResponse, RusotoError<CreateTokenError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: CreateTokenRequest
) -> Pin<Box<dyn Future<Output = Result<CreateTokenResponse, RusotoError<CreateTokenError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates and returns an access token for the authorized client. The access token issued will be used to fetch short-term credentials for the assigned roles in the AWS account.
#[must_use]pub fn register_client<'life0, 'async_trait>(
&'life0 self,
input: RegisterClientRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterClientResponse, RusotoError<RegisterClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: RegisterClientRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterClientResponse, RusotoError<RegisterClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Registers a client with AWS SSO. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.
#[must_use]pub fn start_device_authorization<'life0, 'async_trait>(
&'life0 self,
input: StartDeviceAuthorizationRequest
) -> Pin<Box<dyn Future<Output = Result<StartDeviceAuthorizationResponse, RusotoError<StartDeviceAuthorizationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: StartDeviceAuthorizationRequest
) -> Pin<Box<dyn Future<Output = Result<StartDeviceAuthorizationResponse, RusotoError<StartDeviceAuthorizationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Initiates device authorization by requesting a pair of verification codes from the authorization service.
Implementors
impl SsoOidc for SsoOidcClient
[src]
pub fn create_token<'life0, 'async_trait>(
&'life0 self,
input: CreateTokenRequest
) -> Pin<Box<dyn Future<Output = Result<CreateTokenResponse, RusotoError<CreateTokenError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: CreateTokenRequest
) -> Pin<Box<dyn Future<Output = Result<CreateTokenResponse, RusotoError<CreateTokenError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates and returns an access token for the authorized client. The access token issued will be used to fetch short-term credentials for the assigned roles in the AWS account.
pub fn register_client<'life0, 'async_trait>(
&'life0 self,
input: RegisterClientRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterClientResponse, RusotoError<RegisterClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: RegisterClientRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterClientResponse, RusotoError<RegisterClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Registers a client with AWS SSO. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.
pub fn start_device_authorization<'life0, 'async_trait>(
&'life0 self,
input: StartDeviceAuthorizationRequest
) -> Pin<Box<dyn Future<Output = Result<StartDeviceAuthorizationResponse, RusotoError<StartDeviceAuthorizationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: StartDeviceAuthorizationRequest
) -> Pin<Box<dyn Future<Output = Result<StartDeviceAuthorizationResponse, RusotoError<StartDeviceAuthorizationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Initiates device authorization by requesting a pair of verification codes from the authorization service.