BCard - Documentation technique

SocialLoginGateSubscriber
in package
implements EventSubscriberInterface

Answers 404 on the Google/Facebook OAuth routes while SOCIAL_LOGIN_ENABLED is off. Runs after the router (route known) and before the firewall, so the OAuth authenticators never get a chance to start.

Table of Contents

Interfaces

EventSubscriberInterface

Constants

SOCIAL_ROUTES  : mixed = ['connect_google_start', 'connect_google_check'...

Properties

$socialLoginEnabled  : bool

Methods

__construct()  : mixed
getSubscribedEvents()  : array<string|int, mixed>
onKernelRequest()  : void

Constants

SOCIAL_ROUTES

private mixed SOCIAL_ROUTES = ['connect_google_start', 'connect_google_check', 'connect_facebook_start', 'connect_facebook_check']

Properties

Methods

getSubscribedEvents()

public static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results