unison-cli-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Codebase.Editor.HandleInput.AuthLogin

Synopsis

Documentation

authLogin :: CodeserverURI -> Cli UserInfo Source #

Direct the user through an authentication flow with the given server and store the credentials in the provided credential manager.

ensureAuthenticatedWithCodeserver :: CodeserverURI -> Cli UserInfo Source #

Checks if the user has valid auth for the given codeserver, and runs through an authentication flow if not.