c# - What is the ISecureDataFormat<TData> used for? -
i not understand interface used for, protect
, unprotect
methods,is used generate custom tokens?
namespace microsoft.owin.security { public interface isecuredataformat<tdata> { string protect(tdata data); tdata unprotect(string protectedtext); } }
it seems me owin required interface generation , of parsing security tokens such json web tokens(jwt). have done programming in area , noticed in recent sample programmer used thinktechture toolkit generate jwt "protect"s owin implementation.
Comments
Post a Comment