Table of Contents

Class LoadCodeCredential

Namespace
Virtufin.WorkManager.Actors
Assembly
Virtufin.WorkManager.dll

Flattened, plain-C# stand-in for Virtufin.WorkManager.Protos.SourceCredential -- never puts the protobuf message type itself on the actor wire (a generated gRPC message is not a shape System.Text.Json source generation is meant to serialize). Exactly the same trust boundary as the credential already crossed in the pre-actor design (a full peer-to-peer gRPC replay of the original request), just carried by an actor invocation instead.

public sealed record LoadCodeCredential : IEquatable<LoadCodeCredential>
Inheritance
LoadCodeCredential
Implements
Inherited Members

Constructors

LoadCodeCredential(string?, string?, string?, string?)

Flattened, plain-C# stand-in for Virtufin.WorkManager.Protos.SourceCredential -- never puts the protobuf message type itself on the actor wire (a generated gRPC message is not a shape System.Text.Json source generation is meant to serialize). Exactly the same trust boundary as the credential already crossed in the pre-actor design (a full peer-to-peer gRPC replay of the original request), just carried by an actor invocation instead.

public LoadCodeCredential(string? Named, string? BasicUsername, string? BasicToken, string? BearerToken)

Parameters

Named string
BasicUsername string
BasicToken string
BearerToken string

Properties

BasicToken

public string? BasicToken { get; init; }

Property Value

string

BasicUsername

public string? BasicUsername { get; init; }

Property Value

string

BearerToken

public string? BearerToken { get; init; }

Property Value

string

Named

public string? Named { get; init; }

Property Value

string

Methods

FromProto(SourceCredential?)

public static LoadCodeCredential? FromProto(SourceCredential? credential)

Parameters

credential SourceCredential

Returns

LoadCodeCredential

ToProto()

public SourceCredential? ToProto()

Returns

SourceCredential