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
Fields
ATTRIBUTE
public const string ATTRIBUTE = "x-credentials"
Field Value
Properties
AlgorithmId
public string AlgorithmId { get; set; }
Property Value
CredentialType
[JsonPropertyName("type")]
public string CredentialType { get; set; }
Property Value
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
credentialCredential
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.