Class AuthProperty (2.48.0)

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
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