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.



684
685
686
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 684

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



666
667
668
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 666

def idp_certificates
  @idp_certificates
end

#idp_entity_idString

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

Returns:

  • (String)


671
672
673
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 671

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)


676
677
678
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 676

def sign_request
  @sign_request
end

#sso_urlString

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

Returns:

  • (String)


682
683
684
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 682

def sso_url
  @sso_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



689
690
691
692
693
694
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 689

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