Class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidc

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

Overview

Represents an OpenId Connect 1.0 identity provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleIamAdminV1WorkforcePoolProviderOidc

Returns a new instance of GoogleIamAdminV1WorkforcePoolProviderOidc.



771
772
773
# File 'lib/google/apis/iam_v1/classes.rb', line 771

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

Instance Attribute Details

#client_idString

Required. The client ID. Must match the audience claim of the JWT issued by the identity provider. Corresponds to the JSON property clientId

Returns:

  • (String)


743
744
745
# File 'lib/google/apis/iam_v1/classes.rb', line 743

def client_id
  @client_id
end

#client_secretGoogle::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret

Representation of a client secret configured for the OIDC provider. Corresponds to the JSON property clientSecret



748
749
750
# File 'lib/google/apis/iam_v1/classes.rb', line 748

def client_secret
  @client_secret
end

#issuer_uriString

Required. The OIDC issuer URI. Must be a valid URI using the https scheme. Corresponds to the JSON property issuerUri

Returns:

  • (String)


753
754
755
# File 'lib/google/apis/iam_v1/classes.rb', line 753

def issuer_uri
  @issuer_uri
end

#jwks_jsonString

OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the jwks_uri from the discovery document(fetched from the .well-known path of the issuer_uri) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: "keys": [ "kty": " RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": "" , "crv": "" ] Corresponds to the JSON property jwksJson

Returns:

  • (String)


764
765
766
# File 'lib/google/apis/iam_v1/classes.rb', line 764

def jwks_json
  @jwks_json
end

#web_sso_configGoogle::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig

Configuration for web single sign-on for the OIDC provider. Corresponds to the JSON property webSsoConfig



769
770
771
# File 'lib/google/apis/iam_v1/classes.rb', line 769

def web_sso_config
  @web_sso_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



776
777
778
779
780
781
782
# File 'lib/google/apis/iam_v1/classes.rb', line 776

def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @client_secret = args[:client_secret] if args.key?(:client_secret)
  @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
  @jwks_json = args[:jwks_json] if args.key?(:jwks_json)
  @web_sso_config = args[:web_sso_config] if args.key?(:web_sso_config)
end