public class AuthProperty : objectA 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 |
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 |
Byte[]the binary value of the property |
| Returns | |
|---|---|
| Type | Description |
AuthProperty |
|