CredentialsService Class

Spotfire 14.3 API Reference
The CredentialsService class is available as a user-level service. It can be used to store credentials for the current user. Set credentials are available until the user session ends - typically when the application or web browser is closed.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.ApplicationModelCredentialsService

Namespace:  Spotfire.Dxp.Framework.ApplicationModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public class CredentialsService : IDisposable

The CredentialsService type exposes the following members.

Methods

  NameDescription
Protected methodDispose
Releases unmanaged and - optionally - managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasCredentials
Determines whether credentials exist for the specified key.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveCredentials
Removes the credentials for the specified key.
Public methodSetCredentialsTCredentials
Sets the credentials for the specified key.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetCredentialsTCredentials
Tries to get the credentials for the specified key.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIDisposableDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Top
Remarks

This service can be called from any thread, but the thread must be associated with the same user as the service.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference