flagflag  If you want to see English page, please click "English" Button at Left.
27: 2021-07-26 (月) 15:00:58 iseki ソース 28: 2021-08-01 (日) 11:41:01 iseki ソース
Line 126: Line 126:
 157            # If Canvas is running in anonymous mode, we\'ll still want the \'user_id\' (which is the `lti_user_id``)  157            # If Canvas is running in anonymous mode, we\'ll still want the \'user_id\' (which is the `lti_user_id``)
 158  158
- 159            canvas_id = handler.get_body_argument(\'custom_canvas_user_id\', default=None) + 159            canvas_id = handler.get_body_argument('custom_canvas​_user_id', default=None) 
- 160 +          product_code = handler.get_body_argument(\'tool_consumer_info_product_family_code\', default=None)+ 160 +          product_code = handler.get_body_argument('tool_consumer​_info_product_family_code', default=None)
 161  161
 162            if canvas_id is not None:  162            if canvas_id is not None:
- 163                user_id = handler.get_body_argument(\'custom_canvas_user_id\') + 163                user_id = handler.get_body_argument('custom_canvas​_user_id') 
- 164 +          elif \'moodle\' in product_code: + 164 +          elif 'moodle' in product_code: 
- 165 +                user_id = handler.get_body_argument(\'ext_user_username\')+ 165 +                user_id = handler.get_body_argument('ext_user_user​name')
 166            else:  166            else:
- 167                user_id = handler.get_body_argument(\'user_id\')+ 167                user_id = handler.get_body_argument('user_id')
 168  168


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
<今日>

オンライン状況

90 人のユーザが現在オンラインです。 (18 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 90

もっと...

アクセスカウンタ

今日 : 5886588658865886
昨日 : 7722772277227722
総計 : 2343736723437367234373672343736723437367234373672343736723437367
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com