Class ScramAttribute<TValue>
- Namespace
- Ubiety.Scram.Core.Attributes
- Assembly
- Ubiety.Scram.Core.dll
Represents a generic SCRAM (Salted Challenge Response Authentication Mechanism) attribute with a name and value.
public class ScramAttribute<TValue> : ScramAttribute
Type Parameters
TValueType of the attribute value.
- Inheritance
-
ScramAttribute<TValue>
- Derived
- Inherited Members
Constructors
ScramAttribute(char, TValue)
Initializes a new instance of the ScramAttribute<TValue> class.
public ScramAttribute(char name, TValue value)
Parameters
namecharAttribute name.
valueTValueAttribute value.
Properties
Value
Gets the value associated with the SCRAM attribute.
public TValue Value { get; }
Property Value
- TValue
Remarks
The value represents the specific data associated with the attribute and is of a generic type, allowing support for various types of values.
Methods
ToString()
Converts the attribute to its string representation.
public override string ToString()
Returns
- string
The string representation of the attribute, including its name and value.