Using OAuth for API authorization.