Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2IdpConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb

Overview

The SAML IdP (Identity Provider) configuration when the project acts as the relying party.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2IdpConfig

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2IdpConfig.



785
786
787
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 785

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idp_certificatesArray<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2IdpCertificate>

IDP's public keys for verifying signature in the assertions. Corresponds to the JSON property idpCertificates



767
768
769
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 767

def idp_certificates
  @idp_certificates
end

#idp_entity_idString

Unique identifier for all SAML entities. Corresponds to the JSON property idpEntityId

Returns:

  • (String)


772
773
774
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 772

def idp_entity_id
  @idp_entity_id
end

#sign_requestBoolean Also known as: sign_request?

Indicates if outbounding SAMLRequest should be signed. Corresponds to the JSON property signRequest

Returns:

  • (Boolean)


777
778
779
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 777

def sign_request
  @sign_request
end

#sso_urlString

URL to send Authentication request to. Corresponds to the JSON property ssoUrl

Returns:

  • (String)


783
784
785
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 783

def sso_url
  @sso_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



790
791
792
793
794
795
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 790

def update!(**args)
  @idp_certificates = args[:idp_certificates] if args.key?(:idp_certificates)
  @idp_entity_id = args[:idp_entity_id] if args.key?(:idp_entity_id)
  @sign_request = args[:sign_request] if args.key?(:sign_request)
  @sso_url = args[:sso_url] if args.key?(:sso_url)
end