|
115.
|
|
|
Set up a web services token, using the function 'mahara_upload_file'.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:17
|
|
116.
|
|
|
A learner clicks a button in a third-party application with which they confirm that a file can be placed into their account at some point in the future, e.g. upon them graduating and receiving a diploma. This button is specially crafted to log the learner into Mahara (and create an account if they don't already have one) and take them to the *Files* area where they see an alert stating that they will receive a notification when the file was uploaded into their account.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:18
|
|
117.
|
|
|
This is the most basic link, which can be styled as a button:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:21
|
|
118.
|
|
|
``<a href="https://domain/artefact/file/index.php?expectfile=1 &externalsource=application">Agree to file transfer</a>``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:23
|
|
119.
|
|
|
If you use SAML, the URL is more complicated because you go through the IdP first and then need to be redirected to Mahara
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:26
|
|
120.
|
|
|
``<a href="https://domain/auth/saml/index.php?idpentityid=IdPinfo &wantsurl=https%3A%2F%2Fdomain%2Fartefact%2Ffile%2Findex.php %3Fexpectfile%3D1%26externalsource%3Dapplication">Agree to file transfer</a>``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:28
|
|
121.
|
|
|
where
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:32
|
|
122.
|
|
|
**domain** is your Mahara URL
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:34
|
|
123.
|
|
|
**application** is an identifier to restrict from where the upload can come
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:35
|
|
124.
|
|
|
**IdPinfo** is the URL for your IdP.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/web_services/mahara_upload_file.rst:36
|