public sealed class OAuthPasswordGrantCredentials : IMessage<OAuthPasswordGrantCredentials>, IEquatable<OAuthPasswordGrantCredentials>, IDeepCloneable<OAuthPasswordGrantCredentials>, IBufferMessage, IMessageReference documentation and code samples for the Chronicle v1 API class OAuthPasswordGrantCredentials.
OAuth 2.0 password grant. See https://tools.ietf.org/html/rfc6749.
Implements
IMessageOAuthPasswordGrantCredentials, IEquatableOAuthPasswordGrantCredentials, IDeepCloneableOAuthPasswordGrantCredentials, IBufferMessage, IMessageNamespace
Google.Cloud.Chronicle.V1Assembly
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 |
|