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.



3701
3702
3703
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3701

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

Instance Attribute Details

#client_idString

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

Returns:

  • (String)


3689
3690
3691
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3689

def client_id
  @client_id
end

#client_secretString

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

Returns:

  • (String)


3694
3695
3696
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3694

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>)


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

def redirect_uris
  @redirect_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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