[][src]Struct rusoto_cognito_identity::CognitoProvider

pub struct CognitoProvider { /* fields omitted */ }

Provides AWS credentials from aws Cognito.

For further information about Cognito Identities check https://docs.aws.amazon.com/cognito/index.html

Example

use rusoto_core::Region;
use rusoto_cognito_identity::CognitoProvider;
let provider = CognitoProvider::builder()
    .identity_id("IDENTITY_POOL_ID".to_string())
    .region(Region::EuCentral1)
    .login("graph.facebook.com".to_string(), "FBTOKEN".to_string())
    .build();
 

The Cognito credential provider.

Implementations

impl CognitoProvider[src]

pub fn builder() -> CognitoProviderBuilder[src]

Get a builder.

Trait Implementations

impl Clone for CognitoProvider[src]

impl Debug for CognitoProvider[src]

impl ProvideAwsCredentials for CognitoProvider[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.