Watch 1 Star 1

码云极速下载 / spring-socialApache-2.0

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/spring-projects/spring-social
Spring Social 是 Spring 框架的扩展,用来方便开发Web社交应用程序,可通过该项目来创建与各种社交网站的交互,例如 Twitter、Facebook、LinkedIn 和 TripIt 等。 Spring Social 包括: 一组社交应用模板用于与 Twitter, Facebook, LinkedIn, TripIt, and Greenhouse 进行交互. 一个支持 OAuth 的请求工厂类,使得 RestTemplate... spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Spring Social

Spring Social is an extension of the Spring Framework that helps you connect your applications with Software-as-a-Service (SaaS) providers such as Facebook and Twitter.

Features

  • An extensible service provider framework that greatly simplifies the process of connecting local user accounts to hosted provider accounts.

  • A connect controller that handles the authorization flow between your Java/Spring web application, a service provider, and your users.

  • Java bindings to popular service provider APIs such as Facebook, Twitter, LinkedIn, TripIt, and GitHub.

  • A sign-in controller that enables users to authenticate with your application by signing in through a service provider.

  • Much more...

Download Artifacts

See downloading Spring artifacts for Maven repository information. Unable to use Maven or other transitive dependency management tools? See building a distribution with dependencies.

Dependencies

<dependency>
    <groupId>org.springframework.social</groupId>
    <artifactId>spring-social-core</artifactId>
    <version>${org.springframework.social-version}</version>
</dependency>

<dependency>
    <groupId>org.springframework.social</groupId>
    <artifactId>spring-social-web</artifactId>
    <version>${org.springframework.social-version}</version>
</dependency>

Repositories

<repository>
    <id>spring-repo</id>
    <name>Spring Repository</name>
    <url>https://repo.spring.io/release</url>
</repository>   
    
<repository>
    <id>spring-milestone</id>
    <name>Spring Milestone Repository</name>
    <url>https://repo.spring.io/milestone</url>
</repository>

<repository>
    <id>spring-snapshot</id>
    <name>Spring Snapshot Repository</name>
    <url>https://repo.spring.io/snapshot</url>
</repository>

Spring Social Modules

The core Spring Social project does not contain provider modules. Each of the provider modules is in its own project. This enables those modules to progress and release on a separate schedule than Spring Social and be able to react more quickly to changes in the provider's API without the need to wait for a Spring Social release. The SaaS provider-specific projects can be cloned from the following GitHub URLs:

Documentation

See the current Javadoc and reference docs. To get up and running quickly using the project, see the Quick Start guide.

Sample Applications

Several example projects are available in the samples repository.

Issue Tracking

Report issues via the Spring Social JIRA. While JIRA is preferred, GitHub issues are also welcome. Understand our issue management process by reading about the lifecycle of an issue.

Build from Source

  1. Clone the repository from GitHub:

    $ git clone https://github.com/spring-projects/spring-social.git
  2. Navigate into the cloned repository directory:

    $ cd spring-social
  3. The project uses Gradle to build:

    $ ./gradlew build
  4. Install jars into your local Maven cache (optional)

    $ ./gradlew install

Import Source into your IDE

Eclipse

  1. To generate Eclipse metadata (.classpath and .project files):

    $ ./gradlew eclipse
  2. Once complete, you may then import the projects into Eclipse as usual:

    File -> Import -> Existing projects into workspace

Note: Spring Tool Suite has built in support for Gradle, and you can simply import as Gradle projects.

IDEA

Generate IDEA metadata (.iml and .ipr files):

$ ./gradlew idea

Contributing

Pull requests are welcome. See the contributor guidelines for details.

License

Spring Social is released under version 2.0 of the Apache License.

Comments ( 0 )

You need to Sign in for post a comment

Help Search

183227_9af5e6a8_1826025 111910_4d91f001_1826025