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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -