Make available the username and user_nsid when oauth authentication happens

I think the username and user_nsid are valuable information when the user gets authenticated using oauth. Unless there is a method to retrieve that information afterwards, which I haven't find.
That way the app can inform the user which account he has logged into.