1..47 # ->initialize() # TODO times out the user if no request made for a long time # ->getCredentials() - returns user credentials as an array # ->setAuthenticated() ->isAuthenticated() - returns false by default - returns true if the user is authenticated - accepts a boolean as its first parameter - regenerates the session id if the authentication changes - does not regenerate the session id if the authentication does not change - regenerates the session id if a new credential is added - does not regenerate the session id if the credential already exists - regenerates the session id if a credential is removed - does not regenerate the session id if the credential does not exist # ->setTimedOut() ->isTimedOut() - returns false if the session is not timed out - returns true if the session is timed out # ->hasCredential() - returns false if user has not the credential - takes a credential as its first argument - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - can takes an array of credential as a parameter - supports numerical credentials - supports numerical credentials - supports numerical credentials - supports numerical credentials # ->removeCredential() # ->clearCredentials() - times out the user if no request made for a long time - takes a timeout parameter which can be false to disable session timeout # Looks like everything went fine.