Table of Contents

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

valueAsString string

JsonCredential(JsonElement)

public JsonCredential(JsonElement value)

Parameters

value JsonElement

Properties

Value

public JsonElement Value { get; }

Property Value

JsonElement

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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.