/
authenticate()

authenticate()

The pods:authenticate() action is used to authenticate the pico with the storage using information given in pods:connectStorage(). This action does not need to be called in ordinary use due to functions and actions in this library automatically authenticating on their own. This action will fail if pods:connectStorage() is not called first. If manually authenticating, this action must be called again if the pico engine restarts.

Related content

fetch(fileURL, doAutoAuth = true)
fetch(fileURL, doAutoAuth = true)
More like this
listItems(folderURL, doAutoAuth = true)
listItems(folderURL, doAutoAuth = true)
More like this
store(originURL, destinationURL, doAutoAuth = true)
store(originURL, destinationURL, doAutoAuth = true)
More like this
overwrite(originURL, destinationURL, doAutoAuth = true)
overwrite(originURL, destinationURL, doAutoAuth = true)
More like this
removeFile(fileURL, doAutoAuth = true)
removeFile(fileURL, doAutoAuth = true)
More like this
setAgentAccess(resourceURL, webID, read, write = false, append = false, doAutoAuth = true)
setAgentAccess(resourceURL, webID, read, write = false, append = false, doAutoAuth = true)
More like this

Copyright Picolabs | Licensed under Creative Commons.