

# Oauth2Credential
<a name="API_Oauth2Credential"></a>

Contains OAuth2 client credential information.

## Contents
<a name="API_Oauth2Credential_Contents"></a>

 ** clientId **   <a name="appfabric-Type-Oauth2Credential-clientId"></a>
The client ID of the client application.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

 ** clientSecret **   <a name="appfabric-Type-Oauth2Credential-clientSecret"></a>
The client secret of the client application.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

## See Also
<a name="API_Oauth2Credential_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/appfabric-2023-05-19/Oauth2Credential) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appfabric-2023-05-19/Oauth2Credential) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appfabric-2023-05-19/Oauth2Credential) 