org.springframework.social.connect.web.ProviderSignInUtils Java Examples
The following examples show how to use
org.springframework.social.connect.web.ProviderSignInUtils.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FebsSocialConfig.java From FEBS-Security with Apache License 2.0 | 4 votes |
@Bean public ProviderSignInUtils providerSignInUtils(ConnectionFactoryLocator connectionFactoryLocator){ return new ProviderSignInUtils(connectionFactoryLocator,getUsersConnectionRepository(connectionFactoryLocator)); }
Example #2
Source File: _SocialConfiguration.java From jhipster-ribbon-hystrix with GNU General Public License v3.0 | 4 votes |
@Bean public ProviderSignInUtils getProviderSignInUtils(ConnectionFactoryLocator connectionFactoryLocator, UsersConnectionRepository usersConnectionRepository) { return new ProviderSignInUtils(connectionFactoryLocator, usersConnectionRepository); }
Example #3
Source File: SocialConfig.java From paascloud-master with Apache License 2.0 | 3 votes |
/** * 用来处理注册流程的工具类 * * @param connectionFactoryLocator the connection factory locator * * @return provider sign in utils */ @Bean public ProviderSignInUtils providerSignInUtils(ConnectionFactoryLocator connectionFactoryLocator) { return new ProviderSignInUtils(connectionFactoryLocator, getUsersConnectionRepository(connectionFactoryLocator)) { }; }
Example #4
Source File: SocialWebAutoConfiguration.java From cola with MIT License | 2 votes |
/** * 处理注册流程的工具类 * * @param factoryLocator * @return */ @Bean public ProviderSignInUtils providerSignInUtils(ConnectionFactoryLocator factoryLocator) { return new ProviderSignInUtils(factoryLocator, getUsersConnectionRepository(factoryLocator)); }
Example #5
Source File: SocialConfig.java From pre with GNU General Public License v3.0 | 2 votes |
/** * 从Session中获取社交账号信息 * @param connectionFactoryLocator * @return */ @Bean public ProviderSignInUtils providerSignInUtils(ConnectionFactoryLocator connectionFactoryLocator) { return new ProviderSignInUtils(connectionFactoryLocator, getUsersConnectionRepository(connectionFactoryLocator)) {}; }