2017 © Pedro Peláez
 

symfony-bundle social-connect-bundle

The social connect bundle by MinimalOriginal

image

minimaloriginal/social-connect-bundle

The social connect bundle by MinimalOriginal

  • Friday, November 24, 2017
  • by MinimalOriginal
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

MinimalOriginal Social Connect Bundle

Register bundle

$bundles = [
    ...
    new MinimalOriginal\SocialConnectBundle\MinimalOriginalSocialConnectBundle(),
];

Register routes

Add the bundle routes which indludes Facebook fallback, (*1)

mo_social_connect:
    resource: "@MinimalOriginalSocialConnectBundle/Resources/config/routing.yml"

User entity

The user entity have to implements the FacebookUserInterface (and which extends the Symfony's AdvancedUserInterface) because the FacebookUserProvider needs the followings methods : ⋅⋅* setEmail ⋅⋅* setUsername ⋅⋅* setEnabled ⋅⋅* setPlainPassword, (*2)

use MinimalOriginal\SocialConnectBundle\Security\Core\User\FacebookUserInterface;

class User implements FacebookUserInterface
{
  ...
}

Configuration

minimal_original_social_connect:
  auth:
    facebook:
      id: '%facebook_app_id%'
      secret: '%facebook_app_secret%'

The Versions

24/11 2017

dev-master

9999999-dev

The social connect bundle by MinimalOriginal

  Sources   Download

MIT

The Requires

 

social facebook connect bundle

24/11 2017

v0.1.1

0.1.1.0

The social connect bundle by MinimalOriginal

  Sources   Download

MIT

The Requires

 

social facebook connect bundle

23/11 2017

v0.1

0.1.0.0

The social connect bundle by MinimalOriginal

  Sources   Download

MIT

The Requires

 

social facebook connect bundle