Chronicle v1 API - Class OAuthPasswordGrantCredentials (1.1.0)

public sealed class OAuthPasswordGrantCredentials : IMessage<OAuthPasswordGrantCredentials>, IEquatable<OAuthPasswordGrantCredentials>, IDeepCloneable<OAuthPasswordGrantCredentials>, IBufferMessage, IMessage

Reference documentation and code samples for the Chronicle v1 API class OAuthPasswordGrantCredentials.

OAuth 2.0 password grant. See https://tools.ietf.org/html/rfc6749.

Inheritance

object > OAuthPasswordGrantCredentials

Namespace

Google.Cloud.Chronicle.V1

Assembly

Google.Cloud.Chronicle.V1.dll

Constructors

OAuthPasswordGrantCredentials()

public OAuthPasswordGrantCredentials()

OAuthPasswordGrantCredentials(OAuthPasswordGrantCredentials)

public OAuthPasswordGrantCredentials(OAuthPasswordGrantCredentials other)
Parameter
Name Description
other OAuthPasswordGrantCredentials

Properties

ClientId

public string ClientId { get; set; }

Client ID.

Property Value
Type Description
string

ClientSecret

public string ClientSecret { get; set; }

Client secret.

Property Value
Type Description
string

Password

public string Password { get; set; }

Password.

Property Value
Type Description
string

TokenEndpoint

public string TokenEndpoint { get; set; }

Token endpoint to get the OAuth token from.

Property Value
Type Description
string

User

public string User { get; set; }

Username.

Property Value
Type Description
string