Class GrpcTransportOptions

Assembly: redb.Identity.Grpc.dll

gRPC listener settings.

public class GrpcTransportOptions

Inheritance

Object→GrpcTransportOptions

Properties

AllowedClientThumbprints

Comma-separated SHA-1 thumbprints of accepted client certificates. When set, a certificate whose

public string? AllowedClientThumbprints { get; set; }

ClientCertificateMode

Client-certificate policy (mTLS): NoCertificate (default), AllowCertificate or

public string ClientCertificateMode { get; set; }

Compression

Reply compression: None (default) or Gzip. Requests are always inflated.

public string Compression { get; set; }

EffectiveManagementPort

Effective management port — or .

public int EffectiveManagementPort { get; }

EmitHttpCompatHeaders

Mirror the resolved client address into redbHttp.RemoteAddress so the IP-keyed processors in

public bool EmitHttpCompatHeaders { get; set; }

Health

Serve grpc.health.v1.Health/Check on every listening port. Standard probe for Kubernetes,

public bool Health { get; set; }

Host

Bind address. Default 0.0.0.0.

public string Host { get; set; }

ManagementPort

Port for the management surface. null means «same as », which is

public int? ManagementPort { get; set; }

MaxMessageSize

Max message size in bytes for both directions. Default 4 MB.

public int MaxMessageSize { get; set; }

PublicPort

Port for the protocol surface (token, introspect, revoke, userinfo, discovery, jwks).

public int PublicPort { get; set; }

Ssl

Enable TLS. Requires .

public bool Ssl { get; set; }

SslCertPassword

Password for .

public string? SslCertPassword { get; set; }

SslCertPath

Path to the PFX certificate used when is true.

public string? SslCertPath { get; set; }