How to integrate Joomla Oauth2 SSO

I want to integrate Oauth2 SSO.Can any body have idea how to implement oauth2 SSO. I want to get access to third party site to access but for this they require SSO integration in Joomla.
Can anybody have idea how to implement it.
They require following details from me
userInfoUrl: Url that accepts token & return User,
logoutUrl: Url for logout and accepts token,
loginUrl: Redirect Url For login,
CLientid,
ClientSecretKey,
authTokenName