Class JsonCredential
- Namespace
- Steeltoe.Security.DataProtection.CredHub
- Assembly
- Steeltoe.Security.DataProtection.CredHubBase.dll
[JsonConverter(typeof(JsonCredentialJsonConverter))]
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class JsonCredential : ICredentialValue
- Inheritance
-
JsonCredential
- Implements
- Inherited Members
Constructors
JsonCredential(string)
public JsonCredential(string valueAsString)
Parameters
valueAsStringstring
JsonCredential(JsonElement)
public JsonCredential(JsonElement value)
Parameters
valueJsonElement
Properties
Value
public JsonElement Value { get; }
Property Value
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.