Show / Hide Table of Contents

    Class AuthProperty

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

    Inheritance
    System.Object
    AuthProperty
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Grpc.Core
    Assembly: Grpc.Core.Api.dll
    Syntax
    public class AuthProperty

    Properties

    Name

    Gets the name of the property.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    Value

    Gets the string value of the property.

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    System.String

    ValueBytes

    Gets the binary value of the property.

    Declaration
    public byte[] ValueBytes { get; }
    Property Value
    Type Description
    System.Byte[]

    Methods

    Create(String, Byte[])

    Creates an instance of AuthProperty.

    Declaration
    public static AuthProperty Create(string name, byte[] valueBytes)
    Parameters
    Type Name Description
    System.String name

    the name

    System.Byte[] valueBytes

    the binary value of the property

    Returns
    Type Description
    AuthProperty
    Back to top Generated by DocFX