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

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -