Class OAuth2ClientCredentialSummary
User can define Oauth clients in IAM, then use it to generate a token to grant access to app resources.
Inheritance
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class OAuth2ClientCredentialSummary : object
Properties
CompartmentId
Declaration
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the compartment containing the Oauth credential. |
Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The description of the Oauth credential. |
ExpiresOn
Declaration
public System.Nullable<System.DateTime> ExpiresOn { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | Date and time when this credential will expire, in the format defined by RFC3339.
Null if it never expires.
|
Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the Oauth credential. |
LifecycleState
Declaration
public System.Nullable<OAuth2ClientCredentialSummary.LifecycleStateEnum> LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<OAuth2ClientCredentialSummary.LifecycleStateEnum> | The credential's current state. After creating a Oauth credential, make sure its |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the Oauth credential. |
Scopes
Declaration
public System.Collections.Generic.List<FullyQualifiedScope> Scopes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<FullyQualifiedScope> | Allowed scopes for the given oauth credential. |
TimeCreated
Declaration
public System.Nullable<System.DateTime> TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | Date and time the |
UserId
Declaration
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the user the Oauth credential belongs to. |