python client of c.a.s
Project description
CAS Python Client
py_cas make usage of CAS super easy
in this version of py_cas you have:
- using function instead of HTTP request
in next version you will have:
- enable over Websocket communication instead of REST
Installation
pip3 install py_cas
Usage
from py_cas.CAS import CAS
from py_cas.Models import InitConfig
conf = InitConfig(service_address='CAS_HOST:PORT')
client = CAS(conf=conf)
result = client.validate_token("user_token")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
py_cas-0.0.4-py3-none-any.whl
(5.3 kB
view hashes)