registry.services.datastore.models module¶
SQLAlchemy models for database integration.
-
class
registry.services.datastore.models.DBAuthorizationCode(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.BasePersistence for
domain.AuthorizationCode.-
client¶
-
client_id¶ The unique identifier of the API client.
-
code¶ The authorization code itself.
-
created¶ The time when the auth code was generated.
-
expires¶ The time when the auth code expires.
-
redirect_uri¶ The URI to which the user should be redirected.
-
scope¶ The scope authorized by the user.
-
user_email¶ The email address of the arXiv user granting the authorization.
-
user_id¶ The unique identifier of the arXiv user granting the authorization.
-
username¶ The username of the arXiv user granting the authorization.
-
-
class
registry.services.datastore.models.DBClient(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.BasePersistence for
domain.Client.-
client_id¶
-
created¶
-
credential¶
-
description¶
-
grant_types¶
-
name¶
-
owner_id¶
-
redirect_uri¶
-
url¶
-
-
class
registry.services.datastore.models.DBClientAuthorization(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.BasePersistence for
domain.ClientAuthorization.-
client¶
-
client_id¶
-
requested¶
-
scope¶
-