Skip to content
Discussion options

You must be logged in to vote

Hi Maria,

That said, Swiftagram is completely agnostic to account management, as the priority was to support multi account from the start without any possibility of cookies getting messed up, etc.

All you need to do is fetch a Secret for your "new" account (either through BasicAuthenticator, WebViewAuthenticator or any custom one you might have built for yourself) and pass it around to unlock any endpoint you wish to use.

Storages, by the default, and clearly I may add, support (virtually) unlimited Secrets.
So, for instance, if you rely on KeychainStorage for caching your cookies, all() helps you retrieve all Secrets. Do you need to retrieve only a specific one for a given user? Just pas…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@MariaJsn
Comment options

@MariaJsn
Comment options

@sbertix
Comment options

@MariaJsn
Comment options

@huyparody
Comment options

Answer selected by sbertix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #139 on February 04, 2021 10:34.