Class StdBSHybridCloudManager
This class manages all services that support the PRIMAVERA Hybrid Cloud infrastructure.
Implements
Inherited Members
Namespace: StdPlatBS100.ServiceClasses
Assembly: StdPlatBS100.dll
Syntax
public class StdBSHybridCloudManager : StdBSBaseService, IDisposable
Constructors
StdBSHybridCloudManager()
Declaration
public StdBSHybridCloudManager()
Fields
C_IDENTITY_SERVICEKEY
Identity service key.
Declaration
public const string C_IDENTITY_SERVICEKEY = "Identity"
Field Value
Type | Description |
---|---|
System.String |
Properties
AppsManager
Gets the apps manager.
Declaration
public StdBSAppsManager AppsManager { get; }
Property Value
Type | Description |
---|---|
StdBSAppsManager |
DataLookup
Gets the data look up.
Declaration
public StdBSDataLookUp DataLookup { get; }
Property Value
Type | Description |
---|---|
StdBSDataLookUp |
ECommerce
ECommerce Platform Services
Declaration
public StdBSECommerceManager ECommerce { get; }
Property Value
Type | Description |
---|---|
StdBSECommerceManager |
InformaDBManager
Declaration
public StdBSInformaDBManager InformaDBManager { get; }
Property Value
Type | Description |
---|---|
StdBSInformaDBManager |
PaymentManager
Gets a reference to the payment manager service.
Declaration
public StdBSPaymentManager PaymentManager { get; }
Property Value
Type | Description |
---|---|
StdBSPaymentManager |
UserInterfaceService
Gets the User interface services for the hybrid cloud manager.
Declaration
public StdBSHybridCloudUiManager UserInterfaceService { get; }
Property Value
Type | Description |
---|---|
StdBSHybridCloudUiManager |
Utilities
Cloud Utilities service
Declaration
public StdBSCloudUtils Utilities { get; }
Property Value
Type | Description |
---|---|
StdBSCloudUtils |
Weather
Gets the weather service.
Declaration
public StdBSWeather Weather { get; }
Property Value
Type | Description |
---|---|
StdBSWeather |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
|
GetAuthenticationToken()
Retrieves the Authentication Token synchronously.
Declaration
public string GetAuthenticationToken()
Returns
Type | Description |
---|---|
System.String |
GetAuthenticationTokenAsync()
Retrieves the Authentication Token asynchronously.
Declaration
public Task<string> GetAuthenticationTokenAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> |
GetAuthorityAddress()
Gets the authority adress.
Declaration
public Uri GetAuthorityAddress()
Returns
Type | Description |
---|---|
System.Uri |
GetServiceUrl(String, String)
Retrieves the service url for a specific service for allowed users.
Declaration
public string GetServiceUrl(string serviceKey, string defaultValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceKey | |
System.String | defaultValue |
Returns
Type | Description |
---|---|
System.String |
InvalidateAccessCode()
Invalidates the current identity server access code.
Declaration
public void InvalidateAccessCode()
ResetServiceUrls()
Clears the overriden Url of micro services for allowed users.
Declaration
public void ResetServiceUrls()
SetServiceCredentials(String, String)
Allows authorized users to override the authentication to use in the identity server.
Declaration
public void SetServiceCredentials(string clientId, string clientSecret)
Parameters
Type | Name | Description |
---|---|---|
System.String | clientId | |
System.String | clientSecret |
SetServiceUrl(String, String)
Allows authorized users to change the Url of micro services.
Declaration
public void SetServiceUrl(string serviceKey, string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceKey | The supported service identitication key. |
System.String | url | The new service URL |