Class TokenResponse

Assembly: redb.Identity.Grpc.dll
public sealed class TokenResponse : IMessage<TokenResponse>, IEquatable<TokenResponse>, IDeepCloneable<TokenResponse>, IBufferMessage, IMessage

Inheritance

Object→TokenResponse

Implements

TokenResponse}TokenResponse}TokenResponse}IBufferMessageIMessage

Properties

AccessToken

public string AccessToken { get; set; }

Descriptor

public static MessageDescriptor Descriptor { get; }

ExpiresIn

public long ExpiresIn { get; set; }

Extra

Anything the server returned beyond the fields above.

public Struct Extra { get; set; }

IdToken

public string IdToken { get; set; }

Parser

public static MessageParser<TokenResponse> Parser { get; }

RefreshToken

public string RefreshToken { get; set; }

Scope

public string Scope { get; set; }

TokenType

public string TokenType { get; set; }

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Clone()

Creates a deep clone of this object.

public TokenResponse Clone()

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Equals(TokenResponse)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(TokenResponse other)

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

MergeFrom(TokenResponse)

Merges the given message into this one.

public void MergeFrom(TokenResponse other)

ToString()

Returns a string that represents the current object.

public override string ToString()

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Constructors