oAuth2ClientCredential resource type

Namespace: microsoft.graph.industryData

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents credentials that use OAuth 2.0 to authenticate to a resource.

Inherits from oAuthClientCredential.

Properties

Property Type Description
clientId String The client identifier of the application that is authenticating. Inherited from oAuthClientCredential.
clientSecret String The client secret that is used to authenticate (write-only). Inherited from oAuthClientCredential.
displayName String The name of the credential. Inherited from credential.
isValid Boolean Indicates whether the credential provided is valid based on the last data connector validate operation. Inherited from credential.
lastValidDateTime DateTimeOffset The time that the credential was last successfully validated by the data connector validate operation. Inherited from credential.
scope String The OAuth scope that is provided to the authentication process.
tokenUrl String The URL with which to retrieve the token after authentication happens.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.industryData.oAuth2ClientCredential",
  "displayName": "String",
  "isValid": "Boolean",
  "lastValidDateTime": "String (timestamp)",
  "clientId": "String",
  "clientSecret": "String",
  "tokenUrl": "String",
  "scope": "String"
}