Search Results for

    Show / Hide Table of Contents

    Class TerminologyProviderCredential

    Represents a credential for a terminology provider that can be stored in a ITerminologyProviderCredentialStore.

    Inheritance
    object
    TerminologyProviderCredential
    Implements
    IEquatable<TerminologyProviderCredential>
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Sdl.Terminology.TerminologyProvider.Core
    Assembly: Sdl.Terminology.TerminologyProvider.Core.dll
    Syntax
    public sealed class TerminologyProviderCredential : IEquatable<TerminologyProviderCredential>

    Constructors

    TerminologyProviderCredential(TerminologyUserCredentials, bool)

    Constructor that takes the given credential and whether to persist.

    Declaration
    public TerminologyProviderCredential(TerminologyUserCredentials credential, bool persist = false)
    Parameters
    Type Name Description
    TerminologyUserCredentials credential

    userCredentials

    bool persist

    persist

    TerminologyProviderCredential(string, bool)

    Constructor that takes the given credential and whether to persist. Can be used when authentication is done using an api key

    Declaration
    public TerminologyProviderCredential(string credential, bool persist = false)
    Parameters
    Type Name Description
    string credential

    userCredentials

    bool persist

    persist

    TerminologyProviderCredential(string, string, bool)

    Constructor that takes the given credential and whether to persist.

    Declaration
    public TerminologyProviderCredential(string userName, string password, bool persist = false)
    Parameters
    Type Name Description
    string userName

    username

    string password

    password

    bool persist

    persist

    Properties

    Credential

    Credential property represents the credential.

    Declaration
    public TerminologyUserCredentials Credential { get; set; }
    Property Value
    Type Description
    TerminologyUserCredentials

    CredentialString

    Credential property represents the credential.

    Declaration
    public string CredentialString { get; set; }
    Property Value
    Type Description
    string

    Methods

    Equals(TerminologyProviderCredential)

    Determines whether two terminology provider credentials objects are equal

    Declaration
    public bool Equals(TerminologyProviderCredential other)
    Parameters
    Type Name Description
    TerminologyProviderCredential other

    The terminology provider credentials object to compare the current object with.

    Returns
    Type Description
    bool

    True if the two objects are equal.

    GetHashCode(TerminologyProviderCredential)

    Generates an hash code for the specified terminology provider credential object

    Declaration
    public int GetHashCode(TerminologyProviderCredential obj)
    Parameters
    Type Name Description
    TerminologyProviderCredential obj

    The terminology provider userCredentials object.

    Returns
    Type Description
    int

    The generated hash code.

    Implements

    IEquatable<T>
    In this article
    • Constructors
      • TerminologyProviderCredential(TerminologyUserCredentials, bool)
      • TerminologyProviderCredential(string, bool)
      • TerminologyProviderCredential(string, string, bool)
    • Properties
      • Credential
      • CredentialString
    • Methods
      • Equals(TerminologyProviderCredential)
      • GetHashCode(TerminologyProviderCredential)
    • Implements
    Back to top Generated by DocFX