Class: AWSCDK::EC2::CfnVerifiedAccessTrustProvider::NativeApplicationOidcOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnVerifiedAccessTrustProvider::NativeApplicationOidcOptionsProperty
- Defined in:
- ec2/cfn_verified_access_trust_provider.rb
Overview
Describes the OpenID Connect (OIDC) options.
Instance Attribute Summary collapse
-
#authorization_endpoint ⇒ String?
readonly
The authorization endpoint of the IdP.
-
#client_id ⇒ String?
readonly
The OAuth 2.0 client identifier.
-
#client_secret ⇒ String?
readonly
The OAuth 2.0 client secret.
-
#issuer ⇒ String?
readonly
The OIDC issuer identifier of the IdP.
-
#public_signing_key_endpoint ⇒ String?
readonly
The public signing key endpoint.
-
#scope ⇒ String?
readonly
The set of user claims to be requested from the IdP.
-
#token_endpoint ⇒ String?
readonly
The token endpoint of the IdP.
-
#user_info_endpoint ⇒ String?
readonly
The user info endpoint of the IdP.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authorization_endpoint: nil, client_id: nil, client_secret: nil, issuer: nil, public_signing_key_endpoint: nil, scope: nil, token_endpoint: nil, user_info_endpoint: nil) ⇒ NativeApplicationOidcOptionsProperty
constructor
A new instance of NativeApplicationOidcOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authorization_endpoint: nil, client_id: nil, client_secret: nil, issuer: nil, public_signing_key_endpoint: nil, scope: nil, token_endpoint: nil, user_info_endpoint: nil) ⇒ NativeApplicationOidcOptionsProperty
Returns a new instance of NativeApplicationOidcOptionsProperty.
719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 719 def initialize(authorization_endpoint: nil, client_id: nil, client_secret: nil, issuer: nil, public_signing_key_endpoint: nil, scope: nil, token_endpoint: nil, user_info_endpoint: nil) @authorization_endpoint = Jsii::Type.check_type(@authorization_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authorizationEndpoint") unless @authorization_endpoint.nil? @client_id = client_id Jsii::Type.check_type(@client_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientId") unless @client_id.nil? @client_secret = client_secret Jsii::Type.check_type(@client_secret, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientSecret") unless @client_secret.nil? @issuer = issuer Jsii::Type.check_type(@issuer, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "issuer") unless @issuer.nil? @public_signing_key_endpoint = public_signing_key_endpoint Jsii::Type.check_type(@public_signing_key_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "publicSigningKeyEndpoint") unless @public_signing_key_endpoint.nil? @scope = scope Jsii::Type.check_type(@scope, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scope") unless @scope.nil? @token_endpoint = token_endpoint Jsii::Type.check_type(@token_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tokenEndpoint") unless @token_endpoint.nil? @user_info_endpoint = user_info_endpoint Jsii::Type.check_type(@user_info_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userInfoEndpoint") unless @user_info_endpoint.nil? end |
Instance Attribute Details
#authorization_endpoint ⇒ String? (readonly)
The authorization endpoint of the IdP.
742 743 744 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 742 def @authorization_endpoint end |
#client_id ⇒ String? (readonly)
The OAuth 2.0 client identifier.
747 748 749 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 747 def client_id @client_id end |
#client_secret ⇒ String? (readonly)
The OAuth 2.0 client secret.
752 753 754 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 752 def client_secret @client_secret end |
#issuer ⇒ String? (readonly)
The OIDC issuer identifier of the IdP.
757 758 759 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 757 def issuer @issuer end |
#public_signing_key_endpoint ⇒ String? (readonly)
The public signing key endpoint.
762 763 764 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 762 def public_signing_key_endpoint @public_signing_key_endpoint end |
#scope ⇒ String? (readonly)
The set of user claims to be requested from the IdP.
767 768 769 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 767 def scope @scope end |
#token_endpoint ⇒ String? (readonly)
The token endpoint of the IdP.
772 773 774 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 772 def token_endpoint @token_endpoint end |
#user_info_endpoint ⇒ String? (readonly)
The user info endpoint of the IdP.
777 778 779 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 777 def user_info_endpoint @user_info_endpoint end |
Class Method Details
.jsii_properties ⇒ Object
779 780 781 782 783 784 785 786 787 788 789 790 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 779 def self.jsii_properties { :authorization_endpoint => "authorizationEndpoint", :client_id => "clientId", :client_secret => "clientSecret", :issuer => "issuer", :public_signing_key_endpoint => "publicSigningKeyEndpoint", :scope => "scope", :token_endpoint => "tokenEndpoint", :user_info_endpoint => "userInfoEndpoint", } end |
Instance Method Details
#to_jsii ⇒ Object
792 793 794 795 796 797 798 799 800 801 802 803 804 805 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 792 def to_jsii result = {} result.merge!({ "authorizationEndpoint" => @authorization_endpoint, "clientId" => @client_id, "clientSecret" => @client_secret, "issuer" => @issuer, "publicSigningKeyEndpoint" => @public_signing_key_endpoint, "scope" => @scope, "tokenEndpoint" => @token_endpoint, "userInfoEndpoint" => @user_info_endpoint, }) result.compact end |