Reset Entitlements for a Disconnected Client
The listing below resets entitlement cache for a user when a client with that authentication ID is disconnected. This is a practical approach when an application expects that each user will have a single connection to AMPS.
<Actions>
<Action>
<On>
<Module>amps-action-on-disconnect-client</Module>
</On>
<Do>
<Module>amps-action-do-reset-entitlement</Module>
<Options>
<AuthenticationId>{{AMPS_AUTHENTICATION_ID}}</AuthenticationId>
</Options>
</Do>
</Action>
</Actions>
Last updated