SYMBOL INDEX (100 symbols across 13 files) FILE: simple_sso/exceptions.py class WebserviceError (line 1) | class WebserviceError(Exception): class BadRequest (line 5) | class BadRequest(WebserviceError): FILE: simple_sso/sso_client/client.py class LoginView (line 16) | class LoginView(View): method get (line 19) | def get(self, request): method get_next (line 31) | def get_next(self): class AuthenticateView (line 48) | class AuthenticateView(LoginView): method get (line 51) | def get(self, request): class Client (line 61) | class Client: method __init__ (line 67) | def __init__(self, server_url, public_key, private_key, method from_dsn (line 77) | def from_dsn(cls, dsn): method get_request_token (line 88) | def get_request_token(self, redirect_to): method get_user (line 96) | def get_user(self, access_token): method build_user (line 110) | def build_user(self, user_data): method get_urls (line 125) | def get_urls(self): FILE: simple_sso/sso_server/apps.py class SimpleSSOServer (line 4) | class SimpleSSOServer(AppConfig): FILE: simple_sso/sso_server/migrations/0001_initial.py class Migration (line 7) | class Migration(migrations.Migration): FILE: simple_sso/sso_server/migrations/0002_consumer_name_max_length.py class Migration (line 4) | class Migration(migrations.Migration): FILE: simple_sso/sso_server/migrations/0003_token_redirect_to_max_length.py class Migration (line 4) | class Migration(migrations.Migration): FILE: simple_sso/sso_server/models.py class SecretKeyGenerator (line 10) | class SecretKeyGenerator: method __init__ (line 15) | def __init__(self, field): method __call__ (line 18) | def __call__(self): class ConsumerSecretKeyGenerator (line 25) | class ConsumerSecretKeyGenerator(SecretKeyGenerator): method get_model (line 26) | def get_model(self): class TokenSecretKeyGenerator (line 30) | class TokenSecretKeyGenerator(SecretKeyGenerator): method get_model (line 31) | def get_model(self): class Consumer (line 35) | class Consumer(models.Model): method __unicode__ (line 46) | def __unicode__(self): method rotate_keys (line 49) | def rotate_keys(self): class Token (line 55) | class Token(models.Model): method refresh (line 77) | def refresh(self): FILE: simple_sso/sso_server/server.py class Provider (line 17) | class Provider(BaseProvider): method __init__ (line 20) | def __init__(self, server): method get_private_key (line 23) | def get_private_key(self, public_key): class RequestTokenProvider (line 31) | class RequestTokenProvider(Provider): method provide (line 32) | def provide(self, data): class AuthorizeView (line 38) | class AuthorizeView(View): method get (line 50) | def get(self, request): method missing_token_argument (line 66) | def missing_token_argument(self): method token_not_found (line 69) | def token_not_found(self): method token_timeout (line 72) | def token_timeout(self): method check_token_timeout (line 75) | def check_token_timeout(self): method handle_authenticated_user (line 83) | def handle_authenticated_user(self): method handle_unauthenticated_user (line 89) | def handle_unauthenticated_user(self): method access_denied (line 94) | def access_denied(self): method success (line 97) | def success(self): class VerificationProvider (line 108) | class VerificationProvider(Provider, AuthorizeView): method provide (line 109) | def provide(self, data): method token_not_bound (line 123) | def token_not_bound(self): class ConsumerAdmin (line 127) | class ConsumerAdmin(ModelAdmin): class Server (line 131) | class Server: method __init__ (line 139) | def __init__(self, **kwargs): method register_admin (line 144) | def register_admin(self): method has_access (line 147) | def has_access(self, user, consumer): method get_user_extra_data (line 150) | def get_user_extra_data(self, user, consumer, extra_data): method get_user_data (line 153) | def get_user_data(self, user, consumer, extra_data=None): method get_urls (line 168) | def get_urls(self): FILE: simple_sso/utils.py function default_gen_secret_key (line 19) | def default_gen_secret_key(length=40): function gen_secret_key (line 23) | def gen_secret_key(length=40): function _split_dsn (line 28) | def _split_dsn(dsn): class BaseConsumer (line 44) | class BaseConsumer(object): method __init__ (line 45) | def __init__(self, base_url, public_key, private_key): method from_dsn (line 51) | def from_dsn(cls, dsn): method consume (line 55) | def consume(self, path, data, max_age=None): method handle_response (line 67) | def handle_response(self, body, max_age): method send_request (line 70) | def send_request(self, url, data, headers): method raise_for_status (line 75) | def raise_for_status(status_code, message): method build_url (line 81) | def build_url(self, path): class SyncConsumer (line 86) | class SyncConsumer(BaseConsumer): method __init__ (line 87) | def __init__(self, base_url, public_key, private_key): method send_request (line 91) | def send_request(self, url, data, headers): # pragma: no cover class BaseProvider (line 97) | class BaseProvider(object): method provide (line 100) | def provide(self, data): method get_private_key (line 106) | def get_private_key(self, public_key): method report_exception (line 112) | def report_exception(self): method get_response (line 115) | def get_response(self, method, signed_data, get_header): function provider_wrapper (line 140) | def provider_wrapper(provider): FILE: tests/settings.py function runtests (line 55) | def runtests(): function run (line 82) | def run(): FILE: tests/test_core.py class TestingConsumer (line 18) | class TestingConsumer(SyncConsumer): method __init__ (line 19) | def __init__(self, test_client_, base_url, public_key, private_key): method build_url (line 23) | def build_url(self, path): method send_request (line 26) | def send_request(self, url, data, headers): class SimpleSSOTests (line 41) | class SimpleSSOTests(TestCase): method setUp (line 44) | def setUp(self): method _get_consumer (line 53) | def _get_consumer(self): method test_walkthrough (line 60) | def test_walkthrough(self): method test_user_already_logged_in (line 118) | def test_user_already_logged_in(self): method test_user_data_updated (line 132) | def test_user_data_updated(self): method test_custom_keygen (line 172) | def test_custom_keygen(self): FILE: tests/test_migrations.py class MigrationTestCase (line 9) | class MigrationTestCase(TestCase): method test_for_missing_migrations (line 12) | def test_for_missing_migrations(self): FILE: tests/utils/context_managers.py class NULL (line 4) | class NULL: class SettingsOverride (line 8) | class SettingsOverride: method __init__ (line 19) | def __init__(self, **overrides): method __enter__ (line 22) | def __enter__(self): method __exit__ (line 28) | def __exit__(self, type, value, traceback): class UserLoginContext (line 36) | class UserLoginContext: method __init__ (line 37) | def __init__(self, testcase, user): method __enter__ (line 41) | def __enter__(self): method __exit__ (line 48) | def __exit__(self, exc, value, tb):