php - LinkedIn API: Preventing CSRF attacks -


i integrating linkedin api website retrieve user data linkedin clients of website. api documentation advises pass parameter each request called state random string of characters prevent csrf attacks. developing in php. documentation isn't elaborate how generated. there pre-defined function in php so? can include best practices related preventing csrf attacks , generating such strings new working apis , not aware of best practices.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -