I am trying to understand how refresh token works, and I have a pretty good idea, here an example http://bit.ly/1n9Tbot, but I found this context.DeserializeTicket(protectedTicket);
I am not sure what it does, and practically doesn't have any documentation as you can see here http://bit.ly/1y7LTHt
Is it use to destroy the token? if it is to "deserialize", why does not return anything?
context.DeserializeTicket()
is similar to
context.SetTicket()
in that they both set the context's ticket.
The difference is that DeserializeTicket takes a string, which is a serialized ticket.
This is useful for me because I save the serialized ticket (context.SerializeTicket()) in my database.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With