Class OAuth2ClientCredentialSummary
User can define Oauth clients in IAM, then use it to generate a token to grant access to app resources.
Inherited Members
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class OAuth2ClientCredentialSummary
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment containing the Oauth credential. |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The description of the Oauth credential. |
ExpiresOn
Declaration
[JsonProperty(PropertyName = "expiresOn")]
public DateTime? ExpiresOn { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time when this credential will expire, in the format defined by RFC3339.
Null if it never expires.
|
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Oauth credential. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OAuth2ClientCredentialSummary.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
OAuth2ClientCredentialSummary.LifecycleStateEnum? | The credential's current state. After creating a Oauth credential, make sure its |
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the Oauth credential. |
Scopes
Declaration
[JsonProperty(PropertyName = "scopes")]
public List<FullyQualifiedScope> Scopes { get; set; }
Property Value
Type | Description |
---|---|
List<FullyQualifiedScope> | Allowed scopes for the given oauth credential. |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time the |
UserId
Declaration
[JsonProperty(PropertyName = "userId")]
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user the Oauth credential belongs to. |