You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/authenticationProvider/authenticationProvider.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ export default {
87
87
88
88
/**
89
89
* Looks up the IDP of a WebID by querying the WebID .
90
-
* @param {URL} webId the WebID to query the IDP from
90
+
* @param {URL} webId - the WebID to query the IDP from
91
91
* @returns {?Promise<URL>} the first IDP of the WebID or undefined if no IDP is found in the WebID document
92
92
*/
93
93
asyncfunctionqueryIDPfromWebId(webId){
@@ -111,7 +111,7 @@ async function queryIDPfromWebId(webId) {
111
111
112
112
/**
113
113
*
114
-
* @param {object} webIdThing the webId (actually of type ProfileAll, but importing this throws an error https://github.com/SolidLabResearch/generic-data-viewer-react-admin/issues/15) document to get the name from
114
+
* @param {object} webIdThing - the webId (actually of type ProfileAll, but importing this throws an error https://github.com/SolidLabResearch/generic-data-viewer-react-admin/issues/15) document to get the name from
115
115
* @returns {?string} either the name or undefined if no foaf:name is found
116
116
*/
117
117
functiongetName(webIdThing){
@@ -125,7 +125,7 @@ function getName(webIdThing) {
125
125
126
126
/**
127
127
*
128
-
* @param {object} webIdThing the webId (actually of type ProfileAll, but importing this throws an error https://github.com/SolidLabResearch/generic-data-viewer-react-admin/issues/15) document to get the profile picture from
128
+
* @param {object} webIdThing - the webId (actually of type ProfileAll, but importing this throws an error https://github.com/SolidLabResearch/generic-data-viewer-react-admin/issues/15) document to get the profile picture from
129
129
* @returns {?string} either a url to the profile picture or undefined if no foaf:img is found
* @param {object} props - the props passed to the component
12
+
* @param {string} props.source - the source to check
13
+
* @returns {Component} an icon indicating whether the source requires authentication or not (or if it is uncertain due to an error fetching the source)
0 commit comments