gokerb icon indicating copy to clipboard operation
gokerb copied to clipboard

How to use func (*Ticket) Connect?

Open GP4cK opened this issue 9 years ago • 0 comments

Hello everyone,

So I have a SOAP API with which I would like to communicate over HTTP. I already managed to get a ticket-granting ticket (TGT) from the Key Distribution Center (KDC) thanks to the code in issue #1. According to Kerberos specs, I should use this TGT to get a service ticket and communicate with the API, right? I guess func (t *Ticket) Connect(rw io.ReadWriter, flags int) (gssrw io.ReadWriter, err error) is the function I want to use. However, I just simply don't know what should I use for the rw parameter...

If anyone could help me on this, I would really appreciate. Thanks for the great work BTW.

Cheers

GP4cK avatar Jul 02 '15 00:07 GP4cK