

# AuthorizationCodeGrantMetadata
<a name="API_AuthorizationCodeGrantMetadata"></a>

Metadata for OAuth 2.0 authorization code grant authentication.

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

**Note**  
In the following list, the required parameters are described first.

 ** BaseEndpoint **   <a name="QS-Type-AuthorizationCodeGrantMetadata-BaseEndpoint"></a>
The base URL endpoint for the external service.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 8192.  
Pattern: `https://.*`   
Required: Yes

 ** RedirectUrl **   <a name="QS-Type-AuthorizationCodeGrantMetadata-RedirectUrl"></a>
The redirect URL for the OAuth authorization flow.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 8192.  
Pattern: `https://.*`   
Required: Yes

 ** AuthorizationCodeGrantCredentialsDetails **   <a name="QS-Type-AuthorizationCodeGrantMetadata-AuthorizationCodeGrantCredentialsDetails"></a>
The detailed credentials configuration for authorization code grant.  
Type: [AuthorizationCodeGrantCredentialsDetails](API_AuthorizationCodeGrantCredentialsDetails.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: No

 ** AuthorizationCodeGrantCredentialsSource **   <a name="QS-Type-AuthorizationCodeGrantMetadata-AuthorizationCodeGrantCredentialsSource"></a>
The source of the authorization code grant credentials.  
Type: String  
Valid Values: `PLAIN_CREDENTIALS`   
Required: No

## See Also
<a name="API_AuthorizationCodeGrantMetadata_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/quicksight-2018-04-01/AuthorizationCodeGrantMetadata) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/quicksight-2018-04-01/AuthorizationCodeGrantMetadata) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/quicksight-2018-04-01/AuthorizationCodeGrantMetadata) 