jmckaskill / gokerb

Kerberos library for go
54 stars 19 forks source link

How to use func (*Ticket) Connect? #4

Open GP4cK opened 9 years ago

GP4cK commented 9 years ago

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