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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -