Controller
class Controller extends GenericOauth1aTypeController (View source)
Properties
protected | $authenticationType | from AuthenticationTypeController | |
$apiMethods | |||
protected AbstractService | $service | from GenericOauthTypeController | |
protected Extractor | $extractor | from GenericOauthTypeController | |
protected TokenInterface | $token | from GenericOauthTypeController | |
protected string | |||
protected | $username | ||
protected | $firstName | ||
protected | $lastName |
Methods
No description
No description
Empty because we don't use the authenticate entry point.
We override this method because twitter doesn't give us the email, we have to have the user input it before we can create a user.
No description
Twitter doesn't give us the users email.
Whether or not we will attempt to register the user.
No description
No description
No description
No description
No description
Twitter doesn't give us the users email.
No description
No description
No description
Details
getAuthenticationTypeIconHTML()
No description
view()
No description
__construct(AuthenticationType $type = null)
No description
getAuthenticationType()
No description
completeAuthentication(User $u)
tasks to finalize authentication, call on login events etc.
string
getHandle()
No description
array
getAdditionalRequestParameters()
No description
handle_error($error = false)
No description
showError($error = null)
No description
markError($error)
No description
handle_success($message = false)
No description
showSuccess($message = null)
No description
markSuccess($message)
No description
User|null
authenticate()
Empty because we don't use the authenticate entry point.
string
buildHash(User $u)
Create a cookie hash to identify the user indefinitely.
bool
verifyHash(User $u, string $hash)
Hash authentication disabled for oauth.
TokenInterface
getToken()
No description
setToken(TokenInterface $token)
No description
protected null|User
attemptAuthentication()
We override this method because twitter doesn't give us the email, we have to have the user input it before we can create a user.
ExtractorInterface
getExtractor($new = false)
No description
AbstractService
getService()
No description
protected
isValid()
No description
bool|string
getBoundUserID($binding)
No description
bool
supportsRegistration()
Twitter doesn't give us the users email.
bool
registrationGroupID()
Whether or not we will attempt to register the user.
protected
createUser()
No description
supportsEmail()
No description
supportsUniqueId()
No description
supportsVerifiedEmail()
No description
isEmailVerified()
No description
getEmail()
No description
supportsFullName()
No description
supportsFirstName()
No description
supportsLastName()
No description
getFirstName()
No description
getLastName()
No description
getFullName()
No description
supportsUsername()
No description
getUsername()
No description
int|null
bindUser(User $user, $binding)
No description
int|null
bindUserID($user_id, $binding)
No description
string|null
getBindingForUser(User|UserInfo|User|int $user)
Get the binding associated to a specific user.
getUniqueId()
No description
handle_authentication_attempt()
No description
handle_authentication_callback()
No description
handle_attach_attempt()
No description
handle_attach_callback()
No description
deauthenticate(User $u)
Method used to clean up.
This method must be defined, if it isn't needed, leave it blank.
bool
isAuthenticated(User $u)
Test user authentication status.
bool
supportsEmailResolution()
Twitter doesn't give us the users email.
saveAuthenticationType($args)
No description
edit()
No description
handle_register($token = null)
No description