Class: AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
- Defined in:
- cognito_identitypool/identity_pool_provider_url.rb
Overview
Keys for Login Providers - each correspond to the client IDs of their respective federation Identity Providers.
Class Method Summary collapse
-
.AMAZON ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Amazon Provider url.
-
.APPLE ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Apple Provider url.
-
.custom(url) ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Custom Provider url.
-
.FACEBOOK ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Facebook Provider url.
-
.GOOGLE ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Google Provider url.
- .jsii_overridable_methods ⇒ Object
-
.open_id(url) ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
OpenId Provider url.
-
.saml(url) ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Saml Provider url.
-
.TWITTER ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Twitter Provider url.
-
.user_pool(user_pool, user_pool_client) ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
User Pool Provider Url.
Instance Method Summary collapse
-
#initialize(type, value) ⇒ IdentityPoolProviderURL
constructor
A new instance of IdentityPoolProviderURL.
-
#type ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderType
The type of Identity Pool Provider.
-
#value ⇒ String
The value of the Identity Pool Provider.
Constructor Details
#initialize(type, value) ⇒ IdentityPoolProviderURL
Returns a new instance of IdentityPoolProviderURL.
10 11 12 13 14 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 10 def initialize(type, value) Jsii::Type.check_type(type, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29nbml0b19pZGVudGl0eXBvb2wuSWRlbnRpdHlQb29sUHJvdmlkZXJUeXBlIn0=")), "type") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Object.instance_method(:initialize).bind(self).call(type, value) end |
Class Method Details
.AMAZON ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Amazon Provider url.
64 65 66 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 64 def self.AMAZON() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cognito_identitypool.IdentityPoolProviderUrl", "AMAZON") end |
.APPLE ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Apple Provider url.
71 72 73 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 71 def self.APPLE() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cognito_identitypool.IdentityPoolProviderUrl", "APPLE") end |
.custom(url) ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Custom Provider url.
27 28 29 30 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 27 def self.custom(url) Jsii::Type.check_type(url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_cognito_identitypool.IdentityPoolProviderUrl", "custom", [url]) end |
.FACEBOOK ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Facebook Provider url.
78 79 80 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 78 def self.FACEBOOK() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cognito_identitypool.IdentityPoolProviderUrl", "FACEBOOK") end |
.GOOGLE ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Google Provider url.
85 86 87 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 85 def self.GOOGLE() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cognito_identitypool.IdentityPoolProviderUrl", "GOOGLE") end |
.jsii_overridable_methods ⇒ Object
16 17 18 19 20 21 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 16 def self.jsii_overridable_methods { :type => { kind: :property, name: "type", is_optional: false }, :value => { kind: :property, name: "value", is_optional: false }, } end |
.open_id(url) ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
OpenId Provider url.
36 37 38 39 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 36 def self.open_id(url) Jsii::Type.check_type(url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_cognito_identitypool.IdentityPoolProviderUrl", "openId", [url]) end |
.saml(url) ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Saml Provider url.
45 46 47 48 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 45 def self.saml(url) Jsii::Type.check_type(url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_cognito_identitypool.IdentityPoolProviderUrl", "saml", [url]) end |
.TWITTER ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
Twitter Provider url.
92 93 94 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 92 def self.TWITTER() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cognito_identitypool.IdentityPoolProviderUrl", "TWITTER") end |
.user_pool(user_pool, user_pool_client) ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderURL
User Pool Provider Url.
55 56 57 58 59 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 55 def self.user_pool(user_pool, user_pool_client) Jsii::Type.check_type(user_pool, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29nbml0by5JVXNlclBvb2wifQ==")), "userPool") Jsii::Type.check_type(user_pool_client, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29nbml0by5JVXNlclBvb2xDbGllbnQifQ==")), "userPoolClient") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_cognito_identitypool.IdentityPoolProviderUrl", "userPool", [user_pool, user_pool_client]) end |
Instance Method Details
#type ⇒ AWSCDK::CognitoIdentitypool::IdentityPoolProviderType
The type of Identity Pool Provider.
99 100 101 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 99 def type() jsii_get_property("type") end |
#value ⇒ String
The value of the Identity Pool Provider.
106 107 108 |
# File 'cognito_identitypool/identity_pool_provider_url.rb', line 106 def value() jsii_get_property("value") end |