Click or drag to resize

CredentialsContract Class

Description of the Credentials.
Inheritance Hierarchy
SystemObject
  SOS.SDK.Contracts.DataContractsCredentialsContract

Namespace:  SOS.SDK.Contracts.DataContracts
Assembly:  SOS.SDK (in SOS.SDK.dll) Version: 7.6.1.5742
Syntax
C#
public class CredentialsContract

The CredentialsContract type exposes the following members.

Constructors
  NameDescription
Public methodCredentialsContract
Initializes a new instance of the CredentialsContract class
Top
Properties
  NameDescription
Public propertyExecutor
Executor Credentials
Public propertyLogin
User login for getting acces to the Network Share.
Public propertyPassword
User password for getting access to the Network Share.
Public propertyServerAuthToken
Server Auth Token.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Remarks

SDK supports signing in in two modes:

- Using user password

- Using ServerAuthToken password

You need to provide Password or ServerAuthToken value to sign in.

Used to get the authorization SDK Token. A SDK Token is required to perform all operations that require authorization.

Please, differ SDK Token IdentityContract and Server Auth Token.

This is different terms for different usecases.

Server Auth Token used instead Password when you are authorized on the Infrascale Server bypassing Infrascale Service.

Server Auth Token have limited lifetime.

See Also