Class Credential
Inheritance
System.Object
Credential
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Crosser.EdgeNode.Flows.Abstractions.Credential
Assembly: Crosser.EdgeNode.Flows.Abstractions.dll
Syntax
public class Credential
Constructors
Credential()
Declaration
public Credential()
Credential(Guid, Byte[], String, Nullable<Guid>, String)
Declaration
public Credential(Guid id, byte[] data, string algorithmId, Guid? encryptionKeyId, string credentialType)
Parameters
System.Guid
id
|
System.Byte[]
data
|
System.String
algorithmId
|
System.Nullable<System.Guid>
encryptionKeyId
|
System.String
credentialType
|
Fields
ATTRIBUTE
Declaration
public const string ATTRIBUTE = "x-credentials"
Field Value
System.String
|
Properties
AlgorithmId
Declaration
[JsonProperty("algorithmId")]
public string AlgorithmId { get; protected set; }
Property Value
System.String
|
CredentialType
Declaration
[JsonProperty("type")]
public string CredentialType { get; protected set; }
Property Value
System.String
|
Data
Declaration
[JsonProperty("data")]
public byte[] Data { get; protected set; }
Property Value
System.Byte[]
|
EncryptionKeyId
Declaration
[JsonProperty("encryptionKeyId")]
public Guid? EncryptionKeyId { get; protected set; }
Property Value
System.Nullable<System.Guid>
|
Id
Declaration
[JsonProperty("id")]
public Guid Id { get; protected set; }
Property Value
System.Guid
|
Methods
ToCredential<T>()
Declaration
public T ToCredential<T>()
where T : class, new()
Returns
T
|
Type Parameters
T
|
ToCredential<T>(Credential)
Declaration
public static T ToCredential<T>(Credential credential)
where T : class, new()
Parameters
Credential
credential
|
Returns
T
|
Type Parameters
T
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Object.ToString()