Reference documentation and code samples for the Identity-Aware Proxy V1 API class Google::Cloud::Iap::V1::OAuth2.
The OAuth 2.0 Settings
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#client_id
def
client_id
()
-
>
::
String
Returns
- (::String) — The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
#client_id=
def
client_id=
(
value
)
-
>
::
String
Parameter
- value(::String) — The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
Returns
- (::String) — The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
#client_secret
def
client_secret
()
-
>
::
String
Returns
- (::String) — Input only. The OAuth 2.0 client secret created while registering the client ID.
#client_secret=
def
client_secret=
(
value
)
-
>
::
String
Parameter
- value(::String) — Input only. The OAuth 2.0 client secret created while registering the client ID.
Returns
- (::String) — Input only. The OAuth 2.0 client secret created while registering the client ID.
#client_secret_sha256
def
client_secret_sha256
()
-
>
::
String
Returns
- (::String) — Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved.