How to integrate NING login in my website

Hi,

Has anyone implemented NING login. Is there any API for this, I
googled a lot but couldn't find a solution for this.

could anyone provide some sample code or something like that.

Note: I need to login with NIng details into mysite.