Class TokenRequest
public sealed class TokenRequest : IMessage<TokenRequest>, IEquatable<TokenRequest>, IDeepCloneable<TokenRequest>, IBufferMessage, IMessage
Inheritance
Implements
Properties
Additional
Any parameter this contract does not name — extension grants, vendor parameters, future RFCs.
public MapField<string, string> Additional { get; }
ClientId
public string ClientId { get; set; }
ClientSecret
public string ClientSecret { get; set; }
CodeVerifier
public string CodeVerifier { get; set; }
Descriptor
public static MessageDescriptor Descriptor { get; }
GrantType
public string GrantType { get; set; }
Parser
public static MessageParser<TokenRequest> Parser { get; }
Password
public string Password { get; set; }
RedirectUri
public string RedirectUri { get; set; }
Scope
public string Scope { get; set; }
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Equals(TokenRequest)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(TokenRequest other)
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
MergeFrom(TokenRequest)
Merges the given message into this one.
public void MergeFrom(TokenRequest other)
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)