Web Frameworks

PyChannels

Third-party Python package module — channels. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.auth.AuthMiddlewareStack()Neutral
#
Signature
auth.AuthMiddlewareStack(inner)

auth.AuthMiddlewareStack function.

.auth.get_user()Neutral
#
Signature
auth.get_user(scope)

auth.get_user function.

.auth.login()Neutral
#
Signature
auth.login(scope, user, backend)

auth.login function.

.auth.logout()Neutral
#
Signature
auth.logout(scope)

auth.logout function.

.consumer.get_handler_name()Neutral
#
Signature
consumer.get_handler_name(message)

consumer.get_handler_name function.

.db.aclose_old_connections()Neutral
#
Signature
db.aclose_old_connections()

db.aclose_old_connections function.

.db.database_sync_to_async()Neutral
#
Signature
db.database_sync_to_async(func, thread_sensitive, executor)

db.database_sync_to_async function.

.layers.get_channel_layer()Neutral
#
Signature
layers.get_channel_layer(alias)

layers.get_channel_layer function.

.routing.get_default_application()Neutral
#
Signature
routing.get_default_application()

routing.get_default_application function.

.security.websocket.AllowedHostsOriginValidator()Neutral
#
Signature
security.websocket.AllowedHostsOriginValidator(application)

security.websocket.AllowedHostsOriginValidator function.

Fully-Qualified Names

FQNField
channelsfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import channels