keystone.oauth1.backends package

Submodules

keystone.oauth1.backends.sql module

class keystone.oauth1.backends.sql.AccessToken(*args, **kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase

access_secret
attributes = ['id', 'access_secret', 'authorizing_user_id', 'project_id', 'role_ids', 'consumer_id', 'expires_at']
authorizing_user_id
consumer_id
expires_at
classmethod from_dict(user_dict)[source]
id
project_id
role_ids
to_dict()[source]
class keystone.oauth1.backends.sql.Consumer(*args, **kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase

attributes = ['id', 'description', 'secret']
description
extra
id
secret
class keystone.oauth1.backends.sql.OAuth1[source]

Bases: keystone.oauth1.core.Oauth1DriverV8

authorize_request_token(request_token_id, user_id, role_ids)[source]
create_access_token(request_id, access_token_duration)[source]
create_consumer(consumer_ref)[source]
create_request_token(consumer_id, requested_project, request_token_duration)[source]
delete_access_token(user_id, access_token_id)[source]
delete_consumer(consumer_id)[source]
get_access_token(access_token_id)[source]
get_consumer(consumer_id)[source]
get_consumer_with_secret(consumer_id)[source]
get_request_token(request_token_id)[source]
list_access_tokens(user_id)[source]
list_consumers()[source]
update_consumer(consumer_id, consumer_ref)[source]
class keystone.oauth1.backends.sql.RequestToken(*args, **kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase

attributes = ['id', 'request_secret', 'verifier', 'authorizing_user_id', 'requested_project_id', 'role_ids', 'consumer_id', 'expires_at']
authorizing_user_id
consumer_id
expires_at
classmethod from_dict(user_dict)[source]
id
request_secret
requested_project_id
role_ids
to_dict()[source]
verifier

Module contents

Table Of Contents

Previous topic

keystone.oauth1 package

Next topic

keystone.policy package

Project Source

This Page