Currently there is no method to just return a Proxy Ticket.

What we have is \Drupal\cas\Service\CasProxyHelper::proxyAuthenticate that requests the Proxy Ticket but then goes on processing and it ends returning cookies from the proxied service in a CookieJar object.

In our case we just need the Proxy Ticket.

CommentFileSizeAuthor
#3 3057821-3.patch3.14 KBdxvargas

Comments

dxvargas created an issue. See original summary.

dxvargas’s picture

Issue summary: View changes
dxvargas’s picture

StatusFileSize
new3.14 KB

I'm submitting a patch that has the new getProxyTicket() method using code originally in \Drupal\cas\Service\CasProxyHelper::proxyAuthenticate. Then the later method uses the new one.

vdacosta@voidtek.com’s picture

Simple and helpful. It's working for me.

vdacosta@voidtek.com’s picture

Status: Active » Reviewed & tested by the community
ieguskiza’s picture

Same here, simple and doesn't interfere with the rest of the code.

  • bkosborne committed 6bb61fb on 8.x-1.x authored by dxvargas
    Issue #3057821 by dxvargas: Need for a method to get a Proxy Ticket
    
bkosborne’s picture

Status: Reviewed & tested by the community » Fixed

Makes sense. Made a minor change on commit for code style of array syntax.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.