Search found 59 matches: auth

Searched query: auth

by Antonio Linares
Fri Jan 10, 2025 1:52 pm
Forum: Utilities / Utilidades
Topic: These forums backup database / Backup de estos foros
Replies: 3
Views: 994

Re: These forums backup database / Backup de estos foros

... text)

DBF Equivalent:
role_id N(5)
role_name C(100)
role_description C(255)

4. phpbb_acl_roles_data
role_id (mediumint)
group_id (mediumint)
auth_option_id (mediumint)

DBF Equivalent:
role_id N(5)
group_id N(5)
auth_option_id N(5)

5. phpbb_acl_users
user_id (mediumint)
auth_option_id ...
by Antonio Linares
Sat Dec 14, 2024 5:00 am
Forum: FiveWin for Harbour/xHarbour
Topic: oauth for dummies
Replies: 10
Views: 1264

Re: oauth for dummies

Google Cloud oauth:
https://console.cloud.google.com/auth

Here’s an example of a fully constructed authUrl:
https://accounts.google.com/o/oauth2/v2/auth?client_id=YOUR_CLIENT_ID&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&scope=https://www.googleapis.com/auth/gmail.send&access_type ...
by byron.hopp
Tue Jul 16, 2024 8:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to Curl for text messaging
Replies: 5
Views: 4905

Re: How to Curl for text messaging

... URL, cUrl )
curl_easy_setopt( hcurl, HB_CURLOPT_POSTFIELDS, cPostFields )
curl_easy_setopt( hCurl, HB_CURLOPT_USERPWD, ACCOUNT_SID + ':' + AUTH_TOKEN )
curl_easy_setopt( hCurl, HB_CURLOPT_DL_BUFF_SETUP )
curl_easy_setopt( hCurl, HB_CURLOPT_VERBOSE, 1 )
curl_easy_setopt( hCurl, HB_CURLOPT ...
by karinha
Wed Dec 07, 2022 6:40 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Conectando FiveWin / xHarbour con ChatGPT OpenAI
Replies: 12
Views: 2326

Re: Conectando FiveWin / xHarbour con ChatGPT OpenAI

... password) to test your beautiful example? Thanks.

{
"error": {
"message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API ...
by karinha
Wed Dec 07, 2022 6:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: chatGPT writes and executes Harbour code !!!
Replies: 35
Views: 6661

Re: chatGPT writes and executes Harbour code !!!

... password) to test your beautiful example? Thanks.

{
"error": {
"message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API ...
by TimStone
Tue Nov 08, 2022 6:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: SMS Text messaging
Replies: 3
Views: 3376

Re: SMS Text messaging

This is Reinaldo's code.


#INCLUDE "hbClass.ch"
#include "hbcurl.ch"

#define ACCOUNT_SID "xxxxxxxxxx$#B<SHJGHKxxxx"
#define AUTH_TOKEN "x@#$F&^%DEE"
#define TEL_FROM "555-555-55555"

CLASS TTwilioSMS

DATA hCurl
DATA httpcode
DATA cLogFile INIT "Twilio.log"
DATA cResponse
DATA ...
by Verhoven
Sat Jul 09, 2022 7:01 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Conectar SFTP con CURL
Replies: 5
Views: 15932

Re: Conectar SFTP con CURL

Antonio, te paso el link con mi exe y mi prg:
https://wormhole.app/QKbzx#fpifjZv1tVs_RFW_54_jPw

He probado el que tu me has proporcionado y obtengo el siguiente error (tengo W10):
No se encuentra el punto de entrada del procedimiento
SSL_CTX_set_post_handsake_auth en la biblioteca de
vínculos dinámicos C:\KK\libcurl-x64.dll
by Antonio Linares
Thu Jun 30, 2022 3:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: TWebView() and Google Group Account
Replies: 21
Views: 2524

Re: TWebView() and Google Group Account

Dear Jimmy,

Have you tried to run this, after you go to https://accounts.google.com/o/oauth2/v2/auth ?

oWebView:Eval( "disallow_webview=true;" )

Anyhow, I have just set an issue in the github webview repo asking for it and lets see what they say:
https://github.com/webview/webview/issues/791
by Baxajaun
Mon Apr 04, 2022 5:26 pm
Forum: FiveWin para Harbour/xHarbour
Topic: GMail no funciona
Replies: 33
Views: 3725

Re: GMail no funciona

Hola Paco,

si pasas por el siguiente enlace https://developers.google.com/identity/protocols/oauth2/service-account#jwt-auth para usar JWT con GMail, necesitamos el algoritmo RS256 que la implementación de JWT de Mateo Baccan no soporta.

Muchas gracias.

Saludos,
by byron.hopp
Wed Jun 16, 2021 9:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: oAuth 2.0 Restful Web Service
Replies: 2
Views: 794

oAuth 2.0 Restful Web Service

Is it possible to access a WebService using oAuth 2.0 from fivewin using CreateObject( "MSXML2.XmlHttp" ), I have been connecting with Carbonite using what seems to be a similar technique. I am attempting to access On-Site.com using their API's. There is some code to generate a Key and I believe this ...
by reinaldocrespo
Mon Feb 22, 2021 12:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to Curl for text messaging
Replies: 5
Views: 4905

How to Curl for text messaging

... POST m \
--data-urlencode "From=+15017122661" \
--data-urlencode "Body=body" \
--data-urlencode "To=+15558675310" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

Can someone show how to execute the same curl command but using Harbour hb_curl? Or is there a better way not using Curl?

Thank you ...
by Antonio Linares
Thu Feb 20, 2020 10:06 am
Forum: FiveWin for Harbour/xHarbour
Topic: WEB SERVICE – VIA REST
Replies: 4
Views: 1274

Re: WEB SERVICE – VIA REST

Vilian,

oServer := CreateObject( "MSXML2.XMLHTTP" )

oServer:Open( "GET", "webserver.averba.com.br/rest/Auth" )
oServer:SetRequestHeader( "Content-Type", "application/json" )
oServer:Send( hb_jsonEncode( { "usuario" => "teste", "senha" => "teste", "codigoatm" => "11000000" } ) )
by vilian
Wed Feb 19, 2020 6:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: WEB SERVICE – VIA REST
Replies: 4
Views: 1274

WEB SERVICE – VIA REST

Hi Guys,
I need send to a webservice(webserver.averba.com.br/rest/Auth) this content:

Header: Accept: application/json
Content-type: application/json
Body:
{ "usuario": "teste", "senha": "teste", "codigoatm": "11000000" }

Do you know how could I to do this ?
by gruncic
Fri Nov 01, 2019 2:41 pm
Forum: mod_harbour
Topic: dbrowse.prg
Replies: 6
Views: 1652

dbrowse.prg

... allowmethods.so
00007FF82F7E0000 0000000000007000 C:\xampp\apache\modules\mod_asis.so
00007FF82F4E0000 0000000000009000 C:\xampp\apache\modules\mod_auth_basic.so
00007FF82F1A0000 0000000000009000 C:\xampp\apache\modules\mod_authn_core.so
00007FF82E5F0000 0000000000008000 C:\xampp\apache\modules\mod ...
by roh.drigo
Wed May 29, 2019 5:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Login by api
Replies: 4
Views: 1591

Login by api

I need to login according to the Tray layout,

Request authorization
The authorization code is provided through the Tray Commerce authentication server.

To allow access to the information and resources of the account, the client must be redirected to the browser-based url. (****** WILL HOW TO HOW TO ...