Implements ClientAuthOIDC.from(options) factory method, which loads
previously selected provider uri and user credentials from storage.
(.for() wasn't used as it was a reserved word).
Usage:
let auth = ClientAuthOIDC.from({})
// credentials / tokens have now been loaded from local storage
auth.currentUser()
.then(webId => {
// previously saved web id
})
Addresses issue #8.
Implements
ClientAuthOIDC.from(options)
factory method, which loads previously selected provider uri and user credentials from storage. (.for()
wasn't used as it was a reserved word).Usage: