# Installation `pip install swampdragon-auth`
# Django settings.py file Add the following code to your settings file:
SWAMP_DRAGON_CONNECTION = (‘swampdragon_auth.socketconnection.HttpDataConnection’, ‘/data’)
## Important note about deployment
If you are running your SwampDragon instances on a subdomain, you need to set
SESSION_COOKIE_DOMAIN = .yourdomain.tld
or the authentication won’t be able to access the user.
To access a signed in user in your router:
self.connection.get_user()
or
self.connection.user
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
SwampDragon-auth-0.1.3.zip
(4.9 kB
view details)
File details
Details for the file SwampDragon-auth-0.1.3.zip.
File metadata
- Download URL: SwampDragon-auth-0.1.3.zip
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c63483cc32e72daa7957ec5e472f7f397192ff961d7c995718b505cd1ff910e2
|
|
| MD5 |
dc563607604cbadf711d1001bd7be818
|
|
| BLAKE2b-256 |
67604101dc01246879fce8a7254cd2a21ec81713a7d1893d6283126b155df7ae
|
File details
Details for the file SwampDragon-auth-0.1.3.tar.gz.
File metadata
- Download URL: SwampDragon-auth-0.1.3.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
285041c0acbbec39dc3acaec36833933c24573081c5a715c0a2a3214978a7021
|
|
| MD5 |
b33258e89a03e7c1f9c92f042bcca5c9
|
|
| BLAKE2b-256 |
3721b993305b26cde57be283d148c454ea26883ff7835bb55d0cfea4a1f2011b
|