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
I would like to be able to create a Session with constructor arguements that contain my accessToken, rsaKeyPair and publicKeyJwk that have been generated elsewhere; and for this to create a Session object that is in a logged in state.
Use Cases
A team that I am working with is building SOLID applications in flutter/dart - and has built an authentication library there to log in and create these credentials. However we still want to make use of things like Comunica and LDflex within the JS ecosystem - so we want to pass the credentials generated in the dart application into the JS code and generate an already logged in session object which can then be used by https://github.com/comunica/comunica-feature-solid.
Currently I am just passing a custom session object which uses a few functions from the internals of this library to create an authenticated fetch function.
The text was updated successfully, but these errors were encountered:
jeswr
changed the title
Enable the creation of Session that is logged in
Enable the creation of Session that is already logged in
Mar 8, 2022
Search terms you've used
isLoggedIn
Feature suggestion
I would like to be able to create a
Session
with constructor arguements that contain myaccessToken
,rsaKeyPair
andpublicKeyJwk
that have been generated elsewhere; and for this to create aSession
object that is in a logged in state.Use Cases
A team that I am working with is building SOLID applications in flutter/dart - and has built an authentication library there to log in and create these credentials. However we still want to make use of things like Comunica and LDflex within the JS ecosystem - so we want to pass the credentials generated in the dart application into the JS code and generate an already logged in session object which can then be used by https://github.com/comunica/comunica-feature-solid.
Currently I am just passing a custom session object which uses a few functions from the internals of this library to create an authenticated fetch function.
The text was updated successfully, but these errors were encountered: