Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stelar Client initialization #4

Open
vsamtuc opened this issue Nov 27, 2024 · 0 comments
Open

stelar Client initialization #4

vsamtuc opened this issue Nov 27, 2024 · 0 comments
Assignees

Comments

@vsamtuc
Copy link
Collaborator

vsamtuc commented Nov 27, 2024

To make Client credential instantiation more extensible in the future, implement

Client(url, credentials)

where the second argument can be one of several things:
(a) the current impl: { 'username': ..., 'password'; ... }
(b) a context-based mechanism (similar to k8s contexts: a file stored in $HOME/.stelar containing
the username/password for each URL that the user has account on.
(c) other, e.g. the JWT directly, to serve uses of Client inside web apis, etc..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants