SuperOffice WebApi Client Library

First things first!

[!NOTE] This is not an OAuth 2.0 client. When authenticating with OpenID Connect or OAuth, you still have to use another means to obtain OAuth tokens.

For OAuth/OpenID Connect authentication in web applications, we recommend you take a look at the AspNet.Security.OAuth.SuperOffice provider. It's an open source library created by DevNet, and tailored for SuperOffice online.

Now lets begin looking how to use the SuperOffice.WebApi library.

What is SuperOffice.WebApi

[!includeALT]

OK. So that's what the SuperOffice.WebApi library is, now lets see how to use it.

Getting started

Package dependencies

These will automatically be included when you add the SuperOffice.WebApi package to a project.

.NETStandard 2.0

  • Microsoft.Extensions.Logging.Abstractions (>= 5.0.0)
  • Microsoft.IdentityModel.JsonWebTokens (>= 5.6.0)
  • Microsoft.IdentityModel.Logging (>= 5.6.0)
  • Microsoft.IdentityModel.Tokens (>= 5.6.0)
  • Newtonsoft.Json (>= 12.0.2)
  • System.Security.Permissions (>= 4.7.0)

Known issues

The current SuperOffice.WebApi package dependencies are not the latest Microsoft packages available. Therefore, if your project uses newer versions of the Microsoft packages, there will be conflicts with TokenValidationResult.