User Pool Client Domain Updater.
update(context, provider, **kwargs)¶
Retrieve/Update the domain name of the specified client.
A domain name is required in order to make authorization and token requests. This prehook ensures we have one available, and if not we create one based on the user pool and client ids.
delete(context, provider, **kwargs)¶
Delete the domain if the user pool was created by Runway.
If a User Pool was created by Runway, and populated with a domain, that domain must be deleted prior to the User Pool itself being deleted or an error will occur. This process ensures that our generated domain name is deleted, or skips if not able to find one.