google mirror api - How does a Glass user sign up to receive specific service Timeline Items? -
i'm trying figure out how glass user signs receive specific timeline items? create timeline items push , glassware/mirror rest services, how glass user sign services created. there glass app subscription store?
thank in advance.
there 2 parts question: how users authorize software , how discover it.
authorization process: glass users subscribe glassware using oauth 2.0. specifically, granting https://www.googleapis.com/auth/glass.timeline scope, provide service permissions read , write timeline.
you can see flow described in api usage stories page in sequence diagram:

discovery: has not yet ben announced.
users need directed url initiates oauth 2.0 flow authorize. how users find url hasn't been answered yet. don't stress during developer preview. instead focus on features of mirror api.
Comments
Post a Comment