public TokenAuthorisation getSessionTokenLogin(TokenAuthorisation token, String username, String password) throws MovieDbException {
        return tmdbAuth.getSessionTokenLogin(token, username, password);
    }
public TokenAuthorisation getSessionTokenLogin ( TokenAuthorisation token , String username , String password ) throws MovieDbException { return tmdbAuth . getSessionTokenLogin ( token , username , password ) ; }
This method is used to generate a session id for user based
authentication. User must provide their username and password

A session id is required in order to use any of the write methods.

@param token Session token
@param username User's username
@param password User's password
@return TokenAuthorisation
@throws MovieDbException exception