Class: Google::Apis::CloudidentityV1beta1::OidcRpConfig

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

Overview

OIDC RP (relying party) configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OidcRpConfig

Returns a new instance of OidcRpConfig.



3699
3700
3701
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3699

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

Instance Attribute Details

#client_idString

OAuth2 client ID for OIDC. Corresponds to the JSON property clientId

Returns:

  • (String)


3687
3688
3689
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3687

def client_id
  @client_id
end

#client_secretString

Input only. OAuth2 client secret for OIDC. Corresponds to the JSON property clientSecret

Returns:

  • (String)


3692
3693
3694
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3692

def client_secret
  @client_secret
end

#redirect_urisArray<String>

Output only. The URL(s) that this client may use in authentication requests. Corresponds to the JSON property redirectUris

Returns:

  • (Array<String>)


3697
3698
3699
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3697

def redirect_uris
  @redirect_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3704
3705
3706
3707
3708
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3704

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