Click or drag to resize
UserCredential Class
Represents a user credential that can be used to respond to an authentication credential challenge.
Inheritance Hierarchy
SystemObject
  Avaya.ClientServicesUserCredential

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 493.0.70.0
Syntax
C#
public class UserCredential

The UserCredential type exposes the following members.

Constructors
  NameDescription
Public methodUserCredential(String)
Constructor of UserCredential with Portal User Token.
Public methodUserCredential(String, DateTime)
Constructor of UserCredential with Access token and Credential Expiry.
Public methodUserCredential(String, String)
Constructor of UserCredential with Username and Password.
Public methodUserCredential(String, String, DateTime)
Constructor of UserCredential with Username, Password and Credential Expiry.
Public methodUserCredential(String, String, String)
Constructor of UserCredential with Username, Password and Domain.
Public methodUserCredential(String, String, String, DateTime)
Constructor of UserCredential with Username, Password , Domain and Credential Expiry.
Public methodUserCredential(String, String, String, String)
Constructor of UserCredential with Username, Password, Domain and HA1String.
Public methodUserCredential(String, String, String, String, DateTime)
Constructor of UserCredential with Username, Password, Domain ,HA1String and CrdentialExpiry.
Public methodUserCredential(String, String, String, String, String)
Constructor of UserCredential with Username, Password, Domain, HA1String, AuthToken and State
Public methodUserCredential(String, String, String, String, String, DateTime)
Constructor of UserCredential with Username, Password, Domain, HA1String, AuthToken and Credential Expiry
Top
Properties
  NameDescription
Public propertyAccessToken
Authorization Token string of the credential
Public propertyCredentialExpiry
The time until which the token is valid.
Public propertyDomain
The domain for the credential (empty string if n/a).
Public propertyHA1String
The HA1String for the credential (empty string if n/a).
Public propertyPassword
The password for the credential (empty string if n/a).
Public propertyPortalUserToken
The Portal User Token of the credential (empty string if n/a).
Public propertyUsername
The username for the credential.
Top
Methods
  NameDescription
Public methodStatic memberCreateUserCredential
Construct a UserCredential using access token
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Top
Remarks
Credentials may consist of username, password, HA1 String and domain information.Depending on the system configuration, some of the parameters may not be available or applicable for a particular credential.For example, some credential may be made up of username and password only.In such case, the domain and HA1 String will be just empty strings.In some other configurations(e.g., for SIP authentication), the HA1 String and the username are the only user credential information available from the configuration server for a user.In such case, the user credential will have empty strings for password and domain. This interface includes all of the convenient methods for constructing a UserCredential.
See Also