Daniel,

 

I would recommend “getting your feet wet” first by working with the 
example_simple.php script.  Make sure to get this one working with your CAS 
server first and then build from there by working with the example_service.php 
which could act like your CAS protected API service and example_proxy_GET.php 
which could act like the client wanting to access your API.

 

Doug

 

From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Daniel Hui
Sent: Friday, August 2, 2019 10:50 AM
To: CAS Community <cas-user@apereo.org>
Subject: Re: [cas-user] Newbie question, about CAS proxy and phpCAS

 

Hi Doug,

May I know which examples suit the use for me? One script for the API and 
another one for the Proxy. Thanks.

On Friday, 2 August 2019 10:47:02 UTC+8, Doug C wrote:

Daniel,

 

Have you taken a lot at the phpCAS examples at 
https://github.com/apereo/phpCAS/tree/master/docs/examples?  They are really 
detailed with a lot of comments explaining what is happening and even 
mentioning what things should be for testing and what should be removed when 
deploying in a production environment.

 

Doug

 

From: cas-...@apereo.org <javascript:>  [mailto:cas-...@apereo.org 
<javascript:> ] On Behalf Of Daniel Hui
Sent: Friday, August 2, 2019 10:01 AM
To: CAS Community <cas-...@apereo.org <javascript:> >
Subject: [cas-user] Newbie question, about CAS proxy and phpCAS

 

Hey guys, I am building an API that requires CAS authentication, and the client 
which calls the API also needs the CAS authentication. After some Googling, I 
find out the proxy function suits my use and I want to implement it using 
phpCAS in my API and also build a simulate client to test my API for CAS 
authentication. But I cannot find any pratical example on the internet. May I 
get some help from you guys to show me some examples to implement this? I need 
some kind of clear logic and clear codes to help me understand this. I do not 
fully understand what is a CAS proxy, and what can it do.

 

https://apereo.github.io/cas/5.0.x/installation/Configuring-Proxy-Authentication.html

 

p.s.: I have CAS implementation experience before, which build a website that 
supports CAS.

 

Thanks for the help

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-...@apereo.org <javascript:> .
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/17c31784-1dd3-43ac-8989-14df184e425f%40apereo.org
 
<https://groups.google.com/a/apereo.org/d/msgid/cas-user/17c31784-1dd3-43ac-8989-14df184e425f%40apereo.org?utm_medium=email&utm_source=footer>
 .

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org <mailto:cas-user+unsubscr...@apereo.org> .
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/748f5d63-9018-48ce-a372-925eac316126%40apereo.org
 
<https://groups.google.com/a/apereo.org/d/msgid/cas-user/748f5d63-9018-48ce-a372-925eac316126%40apereo.org?utm_medium=email&utm_source=footer>
 .

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/004d01d548dd%24fa76f550%24ef64dff0%24%40gmail.com.

Reply via email to