The DSA documentation at the link below shows how to display DSA Notifications for a “Restricted Player” using the Notifications data attached to the AuthenticationException. However, if a player is Disabled via the UGS console, a RequestFailedException is thrown when the user attempts to authenticate. Notifications data is not attached to this type of exception.
Suggested solutions:
a) Throw an AuthenticationException for Disabled players, with the required Notifications data.
b) Add the Notifications data to the RequestFailedException if this is due to the player being Disabled.
Additional question: How does a player become “Banned”, in order for the related AuthenticationException to be thrown?