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.



720
721
722
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 720

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



702
703
704
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 702

def idp_certificates
  @idp_certificates
end

#idp_entity_idString

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

Returns:

  • (String)


707
708
709
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 707

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)


712
713
714
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 712

def sign_request
  @sign_request
end

#sso_urlString

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

Returns:

  • (String)


718
719
720
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 718

def sso_url
  @sso_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



725
726
727
728
729
730
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 725

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