Reference documentation and code samples for the Connectors V1 API class Google::Cloud::Connectors::V1::AuthorizationCodeLink.
This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#client_id
def client_id() -> ::String
Returns
- (::String) — The client ID assigned to the GCP Connectors OAuth app for the connector data source.
#client_id=
def client_id=(value) -> ::String
Parameter
- value (::String) — The client ID assigned to the GCP Connectors OAuth app for the connector data source.
Returns
- (::String) — The client ID assigned to the GCP Connectors OAuth app for the connector data source.
#enable_pkce
def enable_pkce() -> ::Boolean
Returns
- (::Boolean) — Whether to enable PKCE for the auth code flow.
#enable_pkce=
def enable_pkce=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to enable PKCE for the auth code flow.
Returns
- (::Boolean) — Whether to enable PKCE for the auth code flow.
#scopes
def scopes() -> ::Array<::String>
Returns
- (::Array<::String>) — The scopes for which the user will authorize GCP Connectors on the connector data source.
#scopes=
def scopes=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The scopes for which the user will authorize GCP Connectors on the connector data source.
Returns
- (::Array<::String>) — The scopes for which the user will authorize GCP Connectors on the connector data source.
#uri
def uri() -> ::String
Returns
- (::String) — The base URI the user must click to trigger the authorization code login flow.
#uri=
def uri=(value) -> ::String
Parameter
- value (::String) — The base URI the user must click to trigger the authorization code login flow.
Returns
- (::String) — The base URI the user must click to trigger the authorization code login flow.