Files
ROC/modules/openid/persitence/cms_openid_storage_null.e
Jocelyn Fiat 78ef7af5f8 Removed obsolete calls, harmonized predefine response, added non admin user pages.
When access is denied, also provide when possible and wanted, the needed
permissions so that in the future, user will be able to ask for
permission easily.
Renamed previous user handlers as admin user handlers.
Added non admin user handler /user/{uid} .
Add new `send_...` response to `CMS_API.response_api`, and use them
instead of `create {...RESPONSE}.... ; execute`.
Fixed potential issue with storage mailer initialization if folder does
not exist.
Added utf_8_encoded helpers function on CMS_API interface.
Fixed a few unicode potential issues.
Removed a few obsolete calls.
2017-06-09 09:29:41 +02:00

61 lines
1.2 KiB
Plaintext

note
description: "Summary description for {CMS_OPENID_STORAGE_NULL}."
date: "$Date$"
revision: "$Revision$"
class
CMS_OPENID_STORAGE_NULL
inherit
CMS_OPENID_STORAGE_I
feature -- Error handler
error_handler: ERROR_HANDLER
-- Error handler.
do
create Result.make
end
feature -- Access: Users
user_openid_by_userid_identity (a_uid: like {CMS_USER}.id; a_identity: READABLE_STRING_GENERAL): detachable CMS_USER
-- <Precursor>
do
end
user_openid_by_identity (a_identity: READABLE_STRING_GENERAL;): detachable CMS_USER
-- <Precursor>
do
end
feature -- Access: Consumers
openid_consumers: LIST [STRING]
-- <Precursor>
do
create {ARRAYED_LIST[STRING]}Result.make(0)
end
openid_consumer_by_name (a_name: READABLE_STRING_GENERAL): detachable CMS_OPENID_CONSUMER
-- <Precursor>
do
end
feature -- Change: User Oauth2
new_user_openid (a_token: READABLE_STRING_GENERAL; a_user: CMS_USER)
-- <Precursor>
do
end
update_user_openid (a_token: READABLE_STRING_GENERAL; a_user_profile: READABLE_STRING_32; a_user: CMS_USER; a_consumer_table: READABLE_STRING_GENERAL )
-- Update user `a_user' with oauth2 authentication.
do
end
end