How to get outside login data (session) in WordPress?

To use WordPress as Authenticator, you can use the function wp_signon().
So take the post-data from the codeignider and send it to wp_signon()