Windows 8.1 C# PasswordVault Wrapper

The vast majority of my Teacher Collection apps allow users to communicate with the web service in some way. This includes allowing teachers to do things like save their lesson plans to the cloud, backup classes and students, and manipulate their data from the web.

Before I can let someone in to play about with sensitive data, there has to be a level of authentication going on. While how that’s handled is another blog post, keeping the credentials safe on your device, and then getting the credentials to the API has been made thousands of times easier thanks to the Windows 8 PasswordVault.

The PasswordVault gives you access to the Windows 8 Credentials manager to well… manage credentials. In previous versions of windows, there wasn’t a simple way of managing in app credentials, in addition to dealing with securing the password, so this is a huge help.

I wanted to try and make it just a little bit easier to manage a set of credentials across apps, and hide the use of resource string, every time I need to get the value from the store.

Here’s what I’ve come up with, feedback is always appreciated!

2 thoughts on “Windows 8.1 C# PasswordVault Wrapper

    1. I’m not 100% sure on how the Windows Vault Manager differentiates between credentials and users, but at a pure assumption i’d imagine it would be per user.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s