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
Properties
BasicToken
public string? BasicToken { get; init; }
Property Value
BasicUsername
public string? BasicUsername { get; init; }
Property Value
BearerToken
public string? BearerToken { get; init; }
Property Value
Named
public string? Named { get; init; }
Property Value
Methods
FromProto(SourceCredential?)
public static LoadCodeCredential? FromProto(SourceCredential? credential)
Parameters
credentialSourceCredential
Returns
ToProto()
public SourceCredential? ToProto()
Returns
- SourceCredential