Class UpdateOAuthClientCredentialRequest
Implements
Inherited Members
Namespace: Oci.IdentityService.Requests
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class UpdateOAuthClientCredentialRequest : IOciRequest
Examples
Click here to see an example of how to use UpdateOAuthClientCredential request.
Properties
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type | Description |
---|---|
string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the |
Oauth2ClientCredentialId
Declaration
[Required(ErrorMessage = "Oauth2ClientCredentialId is required.")]
[HttpConverter(TargetEnum.Path, "oauth2ClientCredentialId")]
public string Oauth2ClientCredentialId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the Oauth credential. |
Remarks
Required
UpdateOAuth2ClientCredentialDetails
Declaration
[Required(ErrorMessage = "UpdateOAuth2ClientCredentialDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdateOAuth2ClientCredentialDetails UpdateOAuth2ClientCredentialDetails { get; set; }
Property Value
Type | Description |
---|---|
UpdateOAuth2ClientCredentialDetails | Request object containing the information required to generate an Oauth token. |
Remarks
Required
UserId
Declaration
[Required(ErrorMessage = "UserId is required.")]
[HttpConverter(TargetEnum.Path, "userId")]
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user. |
Remarks
Required