commit | 1bfd2ec9118203369acf524d03737de0a2455aff | [log] [tgz] |
---|---|---|
author | Aaron Zinman <aaron@azinman.com> | Mon Apr 04 11:59:30 2016 -0700 |
committer | Aaron Zinman <zinman@google.com> | Mon Apr 04 23:47:42 2016 +0000 |
tree | 1d79a7ff0fdd37a9c64e21a085aff9aec5500c66 | |
parent | 34dcf2f1d2614407995faf256009c12fcf58607e [diff] |
Add google sign-in demo that yields default blessings The swift project has been refactored to build two different frameworks: Vanadium & Syncbase. The Syncbase will yield simple APIs for a drop-in framework that masquerades much of the V23 stack. The demo project has improved to have a picker UI, app icon & more. It has gained an additional demo that uses the Google SignIn SDK to obtain an oauth token, and then use that token to receive a default blessing from dev.v.io. Currently it is using a non-Google app setting but this can be easily swapped out in the future. Currently private/public keys are asking V23 to store them in a special directory under Application Support with NSFileProtectionCompleteUntilUnlock, but in the future this will change to keep the private key in the Apple Keychain and have configurable security setting. Unfortunately, the environmental flags are being read in at boot in the CGO library so we aren’t able to pass the correct directory until the credentials flag has already been created and loaded. The project is also putting Alamofire and Google Sign In under the third-party repo, but in the (short) future we’ll move to a Cocoapods setup so we don’t have to directly check in this code. MultiPart: 3/3 Change-Id: I86606f2e241ffbc3666f88edf09a6657451013f1
This repository contains three kinds of code used in the Vanadium project:
Most of the code under third-party is open source, though some packages have restrictive commercial licenses.
Because of Go language conventions, Go packages are found under third_party/go/src/.