<?xml version="1.0" encoding="UTF-8"?>
<c:config xmlns:c="http://www.sourceid.org/2004/05/config">

    <!-- Table name -->
    <c:item name="TableName">PingFederateAccessGrants</c:item>

    <!-- Index names used to query the DynamoDB table using different attributes. -->
    <c:item name="AccessGrantsClientIdIndex">AccessGrantsClientId-index</c:item>
    <c:item name="AccessGrantsHashedRefreshTokenIndex">AccessGrantsHashedRefreshToken-index</c:item>
    <c:item name="AccessGrantsUniqueUserIdClientIdIndex">AccessGrantsUniqueUserIdClientId-index</c:item>

    <!-- The endpoint override is for testing with a local DynamoDB instance.
         Provide the local DynamoDB endpoint here. This configuration should not be set for production environment.

         Example configuration:
        <c:item name="EndpointOverride">http://localhost:8000</c:item>
   -->
    <c:item name="EndpointOverride"/>

    <!--
        Maximum number of persistent grants allowed to store in DynamoDB per user,
        client and grant type and authentication context qualifier.

        Setting this to a value <= 0 will turn this limit off

        Default configuration:
        <c:item name="maxPersistentGrants">100</c:item>
    -->
    <c:item name="maxPersistentGrants">100</c:item>

    <!--
        Number of records to request when performing batch operation against DynamoDB.
        minimum allowed value is 1
        Maximum allowed value is 100
        In case of an invalid value the default value (50) will be used.

        Default configuration:
        <c:item name="dynamoDbBatchSize">50</c:item>
    -->
    <c:item name="dynamoDbBatchSize">50</c:item>

    <!--
        Configure the amount of time to allow the client to complete the execution of an API call.

        Default configuration:
        <c:item name="ApiCallTimeout">10000</c:item>
    -->
    <c:item name="ApiCallTimeout">10000</c:item>

    <!--
        Configure the amount of time to wait for the http request to complete before giving up and timing out.

        Default configuration:
        <c:item name="ApiCallAttemptTimeout">1000</c:item>
    -->
    <c:item name="ApiCallAttemptTimeout">1000</c:item>
</c:config>
