Wrap-Up

Although OAuth 2.0 can be a complex protocol, Google has provided many tools to simplify its operation. Better still, it uses those tools (such as the Credential class) throughout the Mirror API client, making actions such as inserting a card into a user’s timeline as simple as utilizing the user’s credential object.

Now that we’ve covered authorizing an application, we can dig into the details of Glassware design, starting with creating and managing timeline elements.

Get Programming Google Glass now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.