Class TerminologyUserCredentials
Inheritance
TerminologyUserCredentials
Namespace: SdlSdl.TerminologySdl.Terminology.TerminologyProviderCore
Assembly: Sdl.Terminology.TerminologyProvider.Core.dll
Syntax
public sealed class TerminologyUserCredentials : IEquatable<TerminologyUserCredentials>
Constructors
TerminologyUserCredentials(string, string, TerminologyUserManagerTokenType)
Declaration
public TerminologyUserCredentials(string userName, string password, TerminologyUserManagerTokenType userType)
Parameters
TerminologyUserCredentials(string, string, string, DateTime, TerminologyUserManagerTokenType)
Declaration
public TerminologyUserCredentials(string userName, string samlToken, string authToken, DateTime expirationDate, TerminologyUserManagerTokenType userType)
Parameters
Exceptions
Properties
AuthToken
Bearer token for REST API calls
Declaration
public string AuthToken { get; set; }
Property Value
ExpirationDate
Expiration date of bearer token
Declaration
public DateTime ExpirationDate { get; set; }
Property Value
HasExpired
Checks expiration date time of the bearer token
Declaration
public bool HasExpired { get; }
Property Value
Password
Declaration
public string Password { get; set; }
Property Value
SamlToken
Declaration
public string SamlToken { get; set; }
Property Value
UserName
Declaration
public string UserName { get; set; }
Property Value
UserType
Declaration
public TerminologyUserManagerTokenType UserType { get; set; }
Property Value
Methods
Create(string)
Declaration
public static TerminologyUserCredentials Create(string credentialString)
Parameters
Type |
Name |
Description |
string |
credentialString |
The string representation of a user's credentials.
|
Returns
Equals(TerminologyUserCredentials)
Declaration
public bool Equals(TerminologyUserCredentials other)
Parameters
Returns
Equals(TerminologyUserCredentials, TerminologyUserCredentials)
Declaration
public static bool Equals(TerminologyUserCredentials left, TerminologyUserCredentials right)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Unique identifier of an in-memory object
Declaration
public override int GetHashCode()
Returns
Overrides
Implements