public class AuthProperty
A 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 |
string the name |
valueBytes |
byte the binary value of the property |
Returns | |
---|---|
Type | Description |
AuthProperty |