Class AuthProperty

public class AuthProperty : object

A property of an AuthContext. Note: experimental API that can change or be removed without any prior notice.

Inheritance

Object > AuthProperty

Namespace

Grpc.Core

Assembly

Grpc.Core.Api.dll

Properties

Name

public string Name { get; }

Gets the name of the property.

Property Value
TypeDescription
String

Value

public string Value { get; }

Gets the string value of the property.

Property Value
TypeDescription
String

ValueBytes

public byte[] ValueBytes { get; }

Gets the binary value of the property.

Property Value
TypeDescription
Byte[]

Methods

Create(String, Byte[])

public static AuthProperty Create(string name, byte[] valueBytes)

Creates an instance of AuthProperty.

Parameters
TypeNameDescription
Stringname

the name

Byte[]valueBytes

the binary value of the property

Returns
TypeDescription
AuthProperty