Migrating IOAuthDataProvider

we are migrating the plugin code from 10.x to 12.x.

on 10.x to create an OAuth link we have used Telligent.Common.Services 

OAuthLink newLink = new OAuthLink(ClientType, clientUserID.ToString(), userID);
Services.Get<IOAuthDataProvider>().AddOAuthLink(newLink);

But on 12.x we cant find any relevant interface that would support this.

Apis.Get<IOAuthDataProvider>().AddOauthLink(newLink)

can anyone please help resolving this .



code provided
[edited by: Satish Kumar Polampalli at 1:39 PM (GMT 0) on Wed, Sep 15 2021]
Parents Reply Children
No Data