djblets.webapi.signals¶
Web API signals.
- webapi_token_created = <django.dispatch.dispatcher.Signal object>¶
A signal indicating a WebAPI token has been created.
- Parameters:
instance (
djblets.webapi.models.WebAPIToken
) – The created instance.auto_generated (
bool
) – Whether or not the token was automatically generated.
- webapi_token_expired = <django.dispatch.dispatcher.Signal object>¶
A signal indicating an attempt to authenticate with an expired WebAPI token.
New in version 3.0.
- Parameters:
instance (
djblets.webapi.models.WebAPIToken
) – The expired instance.
- webapi_token_updated = <django.dispatch.dispatcher.Signal object>¶
A signal indicating a WebAPI token has been updated.
- Parameters:
instance (
djblets.webapi.models.WebAPIToken
) – The updated instance.