public class AuthPropertyA property of an AuthContext. Note: experimental API that can change or be removed without any prior notice.
Namespace
Grpc.CoreAssembly
Grpc.Core.Api.dll
Properties
Name
public string Name { get; }Gets the name of the property.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Value
public string Value { get; }Gets the string value of the property.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ValueBytes
public byte[] ValueBytes { get; }Gets the binary value of the property.
| Property Value | |
|---|---|
| Type | Description |
System.Byte |
|
Methods
Create(string, byte[])
public static AuthProperty Create(string name, byte[] valueBytes)Creates an instance of AuthProperty.
| Parameters | |
|---|---|
| Name | Description |
name |
stringthe name |
valueBytes |
System.Bytethe binary value of the property |
| Returns | |
|---|---|
| Type | Description |
AuthProperty |
|