Class: Google::Apis::IapV1::OAuthSettings
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::OAuthSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iap_v1/classes.rb,
lib/google/apis/iap_v1/representations.rb,
lib/google/apis/iap_v1/representations.rb
Overview
Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials.
Instance Attribute Summary collapse
-
#login_hint ⇒ String
Domain hint to send as hd=? parameter in OAuth request flow.
-
#programmatic_clients ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OAuthSettings
constructor
A new instance of OAuthSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OAuthSettings
Returns a new instance of OAuthSettings.
809 810 811 |
# File 'lib/google/apis/iap_v1/classes.rb', line 809 def initialize(**args) update!(**args) end |
Instance Attribute Details
#login_hint ⇒ String
Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect
to primary IDP by skipping Google's login screen. https://developers.google.
com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that
the id token's hd claim matches this value since access behavior is managed by
IAM policies.
Corresponds to the JSON property loginHint
802 803 804 |
# File 'lib/google/apis/iap_v1/classes.rb', line 802 def login_hint @login_hint end |
#programmatic_clients ⇒ Array<String>
Optional. List of client ids allowed to use IAP programmatically.
Corresponds to the JSON property programmaticClients
807 808 809 |
# File 'lib/google/apis/iap_v1/classes.rb', line 807 def programmatic_clients @programmatic_clients end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
814 815 816 817 |
# File 'lib/google/apis/iap_v1/classes.rb', line 814 def update!(**args) @login_hint = args[:login_hint] if args.key?(:login_hint) @programmatic_clients = args[:programmatic_clients] if args.key?(:programmatic_clients) end |