PHP Classes

API access: security and validation

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  API access: security and validation  >  (Un) Subscribe thread alerts  
Subject:API access: security and validation
Summary:Share an example
Messages:4
Author:Onur Boz
Date:2019-05-19 22:13:14
 

  1. API access: security and validation   Reply   Report abuse  
Picture of Onur Boz Onur Boz - 2019-05-19 22:13:14
Hi,

Can you share a server oauth example with the key verification for "API access"?

  2. Re: API access: security and validation   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2019-05-19 22:43:07 - In reply to message 1 from Onur Boz
Hello Onur,

This package comes with many example scripts to access many different types of APIs using OAuth. What API do you want to access? Is it a well known API or maybe an API that you developed?

  3. Re: API access: security and validation   Reply   Report abuse  
Picture of Bilgeweb Onur Bilgeweb Onur - 2019-05-25 07:36:50 - In reply to message 2 from Manuel Lemos
Hi Lemos,

Thank you for your reply, a simple example for an "API" that we developed. Think of it as "API" authorization between two different sites. "abc.com" -> wants to manage "cde.com".

  4. Re: API access: security and validation   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2019-05-25 15:00:28 - In reply to message 3 from Bilgeweb Onur
If you implement you own API that implements OAuth access, you can use this package to access it.

You just need to insert a configuration entry to the oauth_configuration.json file to allow the class to configure itself using your OAuth server URLs and other details.

Just let me know when you have your OAuth API available somewhere so I can help you to setup the oauth_configuration.json file for your API.

 
For more information send a message to info at phpclasses dot org.