I'm wondering if the announcement of Basic auth deprecation for SP online mentioned here
https://learn.microsoft.com/en-us/sharepoint/technical-reference/basic-auth-is-being-deprecated
affects the use of the SharePointOnlineCredentials method of logging in via .net CSOM APIs.
I'm aware it takes username and password but I thought it was actually classified as a form of Claims Based Authentication not basic.
I know on the client side, newer CSOM libs don't include that structure any more. But that doesn't mean the server will no longer accept that means of login.
The object I'm talking about is
https://learn.microsoft.com/en-us/dotnet/api/microsoft.sharepoint.client.sharepointonlinecredentials.-ctor?view=sharepoint-csom&devlangs=csharp&f1url=%3FappId%3DDev16IDEF1%26l%3DEN-US%26k%3Dk(Microsoft.SharePoint.Client.SharePointOnlineCredentials.%23ctor)%3Bk(TargetFrameworkMoniker-.NETFramework%2CVersion%3Dv4.8)%3Bk(DevLang-csharp)%26rd%3Dtrue
And the means of using it would be like this
SharePointOnlineCredentials creds = new SharePointOnlineCredentials(sUserName, securePassword);
ClientContext ctx.Credentials = creds;
string authCooke = creds.GetAuthenticationCookie(Sharepointuri);
I'm wondering if that type of authentication is what is being deprecated with that announcement. I know you want to say "Please use more modern login methods". I agree. But that is not the question I'm asking.
The question is, "is the method of login described above, being deprecated according to the announcement mentioned"