- 10 Interview Questions Every JavaScript Developer Should Know
- The Two Pillars of JavaScript
- Why I use Tape Instead of Mocha & So Should You
- A Simple Challenge to Classical Inheritance Fans
- Assessing Employee Performance
- How to Use Classes and Sleep at Night
- A curated list of resources on why ES6 (aka ES2015) classes are NOT awesome
- [Composition in Javascript](http://rjzaworski.com/2
I’m a web app that wants to allow other web apps access to my users’ information, but I want to ensure that the user says it’s ok.
I can’t trust the other web apps, so I must interact with my users directly. I’ll let them know that the other app is trying to get their info, and ask whether they want to grant that permission. Oauth defines a way to initiate that permission verification from the other app’s site so that the user experience is smooth. If the user grants permission, I issue an AuthToken to the other app which it can use to make requests for that user's info.
Oauth2 has nothing to do with encryption -- it relies upon SSL to keep things (like the client app’s shared_secret) secure.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ImageCropper.java */ | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import javax.imageio.ImageIO; | |
public class ImageCropper { |