[−][src]Struct rusoto_sso_oidc::SsoOidcClient
A client for the SSO OIDC API.
Methods
impl SsoOidcClient
[src]
pub fn new(region: Region) -> SsoOidcClient
[src]
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> SsoOidcClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> SsoOidcClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> SsoOidcClient
[src]
Trait Implementations
impl Clone for SsoOidcClient
[src]
fn clone(&self) -> SsoOidcClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl SsoOidc for SsoOidcClient
[src]
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.
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.
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.
Auto Trait Implementations
impl !RefUnwindSafe for SsoOidcClient
impl Send for SsoOidcClient
impl Sync for SsoOidcClient
impl Unpin for SsoOidcClient
impl !UnwindSafe for SsoOidcClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,