Show / Hide Table of Contents

Class OAuth2ClientCredentialSummary

User can define Oauth clients in IAM, then use it to generate a token to grant access to app resources.

Inheritance
System.Object
OAuth2ClientCredentialSummary
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.
Example: 2016-08-25T21:10:29.600Z

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 lifecycleState changes from CREATING to ACTIVE before using it.

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 OAuth2ClientCredential object was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

UserId

Declaration
public string UserId { get; set; }
Property Value
Type Description
System.String

The OCID of the user the Oauth credential belongs to.

Back to top