GSMA.MobileConnect 2.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package GSMA.MobileConnect --version 2.2.0
NuGet\Install-Package GSMA.MobileConnect -Version 2.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GSMA.MobileConnect" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GSMA.MobileConnect --version 2.2.0
#r "nuget: GSMA.MobileConnect, 2.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GSMA.MobileConnect as a Cake Addin
#addin nuget:?package=GSMA.MobileConnect&version=2.2.0

// Install GSMA.MobileConnect as a Cake Tool
#tool nuget:?package=GSMA.MobileConnect&version=2.2.0

GSMA MobileConnect .Net SDK

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.1 1,332 10/26/2016
2.2.0 1,168 10/19/2016
1.0.0.3 1,236 6/15/2016
1.0.0.1 849 5/26/2016
1.0.0 835 5/25/2016

**New Features**
* Added BaseCache for all cache implementations to inherit from, implements cache expiry functionality
* ProviderMetadata is retrieved automatically during discover phase and cached in the same cache as DiscoveryResponse
* Added RequestHeadlessAuthenticationAsync to MobileConnectWebInterface for server to server authentication requests
* Added RequestUserInfoAsync to MobileConnectInterface and MobileConnectWebInterface
* Added RequestIdentityAsync to MobileConnectInterface and MobileConnectWebInterface
* Added MobileConnectConstants for access to MobileConnect product scope constants
* Added IJWKeysetService and JWKeysetService to handle retrieval of JWKS documents
* Added JWKeyset and JWKey to handle validation of token signatures
* Added TokenValidation to handle validation of token responses
* Added LoginHint static helper class to generate login hints
* Added RefreshToken to MobileConnectInterface and MobileConnectWebInterface
* Added RevokeToken to MobileConnectInterface and MobileConnectWebInterface

**Updated Features**
* Converted ICache to be async and generic
* Updated ConcurrentCache to serialize and deserialize objects to json when caching
* StartAuthentication will alter scope values to target the right product openid/mc_authn/mc_authz
* RestClient now uses RestAuthentication objects to handle authentication
* Added validation of token response to RequestTokenAsync in MobileConnectInterface and MobileConnectWebInterface
* Headless authentication can handle cases when endpoint returns 200 prematurely

**Bugs Fixed**
* Fixed issue when mobile_connect_versions_supported was null
* Identity/UserInfo error now reports item that failed to fetch correctly
* Corrected authentication parameter name max-age -> max_age
* Corrected authentication parameter name ui-locales -> ui_locales
* Fixed issue when mobile_connect_versions_supported passes multiple versions for one scope

**Breaking Changes**
* IAuthentication renamed to IAuthenticationService
* IDiscovery renamed to IDiscoveryService
* MobileConnect(Web)Interface.StartAuthorization renamed to StartAuthentication
* MobileConnectResponseType.Authorization renamed to Authentication
* MobileConnectResponseType.StartAuthorization renamed to StartAuthentication
* ResponseConverter actions authorization and start_authorization renamed to authentication and start_authentication
* In some cases the MobileConnect(Web)Interface constructor call will be broken, however the constructor call can now be simplified to new MobileConnectInterface(Config, Cache)