Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- think this is the method for return the token how would it be?
- */
- public Token Get(String user, String password)
- {
- /*Consult in data base and if exist how do I return the token?
- how to program it? ( I repeat i am new about tokens)
- */
- return new token();
- }
- /*
- think this is the method for create the new post what would it receive?
- */
- public Post Get(Post post, token tok) /* is it ok? or it must to be a string? or what*/
- {
- /* if this is a string with token how do i "decrypte" it? */
- return post;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement