The first time the application is run, there will be no credentials available. There are various ways in which credentials can be obtained:
- We can ask the user for credentials
- We can preprogram or configure credentials
- We can generate new credentials
The projects in GitHub will ask the user for account information using a simple dialog. Here the user will be prompted with a dialog the first time the application is run. The dialog will be displayed until valid credentials are provided. These will later be persisted using the static RuntimeSettings class, and will be available to the application the next time it is executed.