CredentialsContract Class |
Namespace: SOS.SDK.Contracts.DataContracts
public class CredentialsContract
The CredentialsContract type exposes the following members.
Name | Description | |
---|---|---|
CredentialsContract | Initializes a new instance of the CredentialsContract class |
Name | Description | |
---|---|---|
Executor |
Executor Credentials
| |
Login | User login for getting acces to the Network Share. | |
Password | User password for getting access to the Network Share. | |
ServerAuthToken |
Server Auth Token.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
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.