Identity Service Sample
The purpose of this sample is to show how to use the native (pure C) identity service API.
There will be a different sample showing how to use the Qt identity service API.
Description of BlackBerry Identity Service
BlackBerry Identity Service is a standardized interface for accessing identifiable information about the user across multiple Identity Providers or IDPs. Supported Identity providers effectively make it possible for developers to pull out data about a user from multiple registered sources, based on the consent of the user.
Feature Summary: BlackBerry ID Identity Provider
With BlackBerry ID you are using the built in device authentication to authenticate with your backend. All you have to do is link your existing authentication system with BlackBerry Identity Service and use BBID authentication to identify a user. This would require a 3rd party application to consume the UID that BlackBerry ID provides and map it to your existing account system.
If you're a proficient C coder - you might find this demo convoluted. Please, for your own sanity, avert your eyes.
Using Cascades is the easiest way to get a good UI! Try and ignore the UI classes, just have a look at:
The author finds RAII to be one of the strongest assets of the c++ language. To this end, the contexts required by the BlackBerry identity service API are allocated and deallocated in constructors and destructors.
The sample code for this application is Open Source under the Apache 2.0 License.
- Rob Williams - Twitter: @robbieDubya
- V1 - Initial release
Inserting a space in a profile key appears to fail at the back end.
- BlackBerry 10 Device Software 10.2
- BlackBerry 10 Native SDK 10.2
With minimal massaging it will compile on 10.0.
How to Build Identity Service Demo
Import the project into a workspace inside Momentics.
To contribute code to this repository you must be signed up as an official contributor.
Please see the README of the Cascades-Community-Samples repository for instructions on how to add new Samples or make modifications to existing Samples.
Bug Reporting and Feature Requests
If you find a bug in a Sample, or have an enhancement request, simply file an Issue for the Sample and send a message (via github messages) to the Sample Author(s) to let them know that you have filed an Issue.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.