[][src]Struct rusoto_elbv2::AuthenticateCognitoActionConfig

pub struct AuthenticateCognitoActionConfig {
    pub authentication_request_extra_params: Option<HashMap<String, String>>,
    pub on_unauthenticated_request: Option<String>,
    pub scope: Option<String>,
    pub session_cookie_name: Option<String>,
    pub session_timeout: Option<i64>,
    pub user_pool_arn: String,
    pub user_pool_client_id: String,
    pub user_pool_domain: String,
}

Request parameters to use when integrating with Amazon Cognito to authenticate users.

Fields

authentication_request_extra_params: Option<HashMap<String, String>>

The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

on_unauthenticated_request: Option<String>

The behavior if the user is not authenticated. The following are possible values:

  • deny - Return an HTTP 401 Unauthorized error.

  • allow - Allow the request to be forwarded to the target.

  • authenticate - Redirect the request to the IdP authorization endpoint. This is the default value.

scope: Option<String>

The set of user claims to be requested from the IdP. The default is openid.

To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.

session_cookie_name: Option<String>

The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

session_timeout: Option<i64>

The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).

user_pool_arn: String

The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

user_pool_client_id: String

The ID of the Amazon Cognito user pool client.

user_pool_domain: String

The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.

Trait Implementations

impl Clone for AuthenticateCognitoActionConfig[src]

impl Default for AuthenticateCognitoActionConfig[src]

impl PartialEq<AuthenticateCognitoActionConfig> for AuthenticateCognitoActionConfig[src]

impl Debug for AuthenticateCognitoActionConfig[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self