Table of Contents

Class Credential

Namespace
Crosser.EdgeNode.Flows.Abstractions
Assembly
Crosser.EdgeNode.Flows.Abstractions.dll
public class Credential : CredentialBase
Inheritance
Credential
Derived
Inherited Members

Constructors

Credential()

public Credential()

Credential(Guid, byte[], string, Guid?, string)

[JsonConstructor]
public Credential(Guid id, byte[] data, string algorithmId, Guid? encryptionKeyId, string credentialType)

Parameters

id Guid
data byte[]
algorithmId string
encryptionKeyId Guid?
credentialType string

Fields

ATTRIBUTE

public const string ATTRIBUTE = "x-credentials"

Field Value

string

Properties

AlgorithmId

public string AlgorithmId { get; set; }

Property Value

string

CredentialType

[JsonPropertyName("type")]
public string CredentialType { get; set; }

Property Value

string

Data

public byte[] Data { get; set; }

Property Value

byte[]

EncryptionKeyId

public Guid? EncryptionKeyId { get; set; }

Property Value

Guid?

Methods

ToCredential<T>()

public T? ToCredential<T>() where T : class, new()

Returns

T

Type Parameters

T

ToCredential<T>(Credential)

public static T? ToCredential<T>(Credential credential) where T : class, new()

Parameters

credential Credential

Returns

T

Type Parameters

T

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.