Click or drag to resize

ILicensingProvider Interface

A Carbon licensing provider must implement this interface. How much they implement depends upon the needs of environment and applications using the provider. The authentication methods are almost certainly going to be needed, but other licence management methods are optional.

Namespace: RCS.Carbon.Licensing.Shared
Assembly: RCS.Carbon.Licensing.Shared (in RCS.Carbon.Licensing.Shared.dll) Version: 9.1.22
Syntax
C#
public interface ILicensingProvider

The ILicensingProvider type exposes the following members.

Properties
 NameDescription
Public propertyConfigSummary Gets a summary of the configuration values used by the provider implementation. The value is only intended for information display or to assist debugging.
Public propertyDescription Gets a longer description of the licensing provider implementation.
Public propertyName Gets a short display name of the provider implementation.
Public propertySupportsRealms Returns a flag indicating if this licensing provider supports the concept of Realms. Clients can use this flag to adjust their UIs accordingly if necessary.
Top
Methods
 NameDescription
Public methodAuthenticateId Authenticates a licensing account user Id and password.
Public methodAuthenticateName Authenticates a licensing account user name and password.
Public methodConnectRealmChildCustomers Connects a Realm to Customers to create relationships.
Public methodDeleteRealm Deletes a Realm and any relationships it has with other licensing entities (a 'deep' delete).
Public methodDisconnectRealmChildCustomer Disconnects the relationship between a Realm and a Customer.
Public methodGetDatabaseReport Gets a set of summary items representing problems or inconsistencies in the licensing database entities.
Public methodGetFreeLicence Authenticates using the 'free' account which is also known as a 'guest' account. This account can be used for evaluation or demonstrations without the need to register a custom account. The account only has access to demonstration customers and jobs and its performance is throttled.
Public methodGetNavigationData Gets abbreviated arrays of all Realms, Users, Customers and Jobs in the licensing database. Clients can 'join' the arrays to create custom navigation views such as a tree showing the relationships between the entities and allowing simple selection.
Public methodListRealms Returns a set of all full Realm entities in the licensing database. The Realms are not 'deep' loaded and the relationship properties will be null.
Public methodListTSAPIVisibleJobs Returns a list of jobs (surveys) that can be exported in TSAPI format.
Public methodReadRealm Reads a Realm entity by primary key Id. The Realm is 'deep' loaded so that relationship properties are filled with the related entities.
Public methodReadRealmsByName Returns a set of Realm entities matching a Name. The Realms are 'deep' loaded so that relationship properties are filled with the related entities.
Public methodReplaceRealmChildCustomers Replaces all of a Realm's connections (relationships) to customers.
Public methodUpdateRealm Updates or inserts a Realm.
Public methodValidateRealm Validates a Realm.
Top
Events
 NameDescription
Public eventProviderLog Hosting applications can listen to this handler for logging string events from the licensing provider. It is up to the provider author to optionally implement meaningful logging. It is recommended that the event strings be in the simple efficient format X Message where X is D=Debug I=information W=Warning and E=Error.
Top
See Also