Skip to content

Authentication

Flow edited this page Jun 3, 2015 · 1 revision

To create a post, you need to be authenticated first. A simple way is to have a view controller of class DisqusComentsViewController and protocol DisqusComments. Then implement presentNewPostForm(), which will be executed when the user create the post. All you have to do after is to use this function to authenticate the user and present the new post form (as you specified in presentNewPostForm()):

showNewPostForm(presentNewPostForm)

And that's it!

Clone this wiki locally