Module: AWSCDK::CognitoIdentitypool::IUserPoolAuthenticationProvider
- Included in:
- UserPoolAuthenticationProvider
- Defined in:
- cognito_identitypool/i_user_pool_authentication_provider.rb
Overview
Represents the concept of a User Pool Authentication Provider.
You use user pool authentication providers to configure User Pools and User Pool Clients for use with Identity Pools
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(scope, identity_pool, options = nil) ⇒ AWSCDK::CognitoIdentitypool::UserPoolAuthenticationProviderBindConfig
The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
Class Method Details
.jsii_overridable_methods ⇒ Object
24 25 26 27 28 |
# File 'cognito_identitypool/i_user_pool_authentication_provider.rb', line 24 def self.jsii_overridable_methods { :bind => { kind: :method, name: "bind", is_optional: false }, } end |
Instance Method Details
#bind(scope, identity_pool, options = nil) ⇒ AWSCDK::CognitoIdentitypool::UserPoolAuthenticationProviderBindConfig
The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
16 17 18 19 20 21 22 |
# File 'cognito_identitypool/i_user_pool_authentication_provider.rb', line 16 def bind(scope, identity_pool, = nil) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") Jsii::Type.check_type(identity_pool, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29nbml0b19pZGVudGl0eXBvb2wuSUlkZW50aXR5UG9vbCJ9")), "identityPool") = .is_a?(Hash) ? ::AWSCDK::CognitoIdentitypool::UserPoolAuthenticationProviderBindOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29nbml0b19pZGVudGl0eXBvb2wuVXNlclBvb2xBdXRoZW50aWNhdGlvblByb3ZpZGVyQmluZE9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("bind", [scope, identity_pool, ]) end |