Example usage for org.springframework.social.facebook.web DisconnectController DisconnectController

List of usage examples for org.springframework.social.facebook.web DisconnectController DisconnectController

Introduction

In this page you can find the example usage for org.springframework.social.facebook.web DisconnectController DisconnectController.

Prototype

public DisconnectController(UsersConnectionRepository usersConnectionRepository, String applicationSecret) 

Source Link

Document

Constructs a DisconnectController.

Usage

From source file:com.solxiom.social.config.SocialConfig.java

@Bean
public DisconnectController disconnectController() {
    return new DisconnectController(usersConnectionRepository,
            environment.getProperty("facebook.clientSecret"));
}

From source file:rd.kpath.config.SocialConfig.java

@Bean
public DisconnectController disconnectController(UsersConnectionRepository usersConnectionRepository,
        Environment environment) {
    return new DisconnectController(usersConnectionRepository, environment.getProperty("facebook.appSecret"));
}

From source file:com.solxiom.social.config.ExplicitSocialConfig.java

@Bean
public DisconnectController disconnectController() {
    return new DisconnectController(usersConnectionRepository(),
            environment.getProperty("facebook.clientSecret"));
}

From source file:com.folion.config.SocialConfiguration.java

@Bean
public DisconnectController disconnectController(UsersConnectionRepository usersConnectionRepository,
        Environment env) {//  w w w.jav  a2 s  .  co  m
    return new DisconnectController(usersConnectionRepository, env.getProperty("facebook.appSecret"));
}

From source file:ro.teamnet.hero.config.SocialConfig.java

@Bean
public DisconnectController disconnectController(UsersConnectionRepository usersConnectionRepository,
        Environment env) {/*from   w  w  w  . j a v a2  s.  c om*/
    return new DisconnectController(usersConnectionRepository, env.getProperty("facebook.clientSecret"));
}