{
"trustedFacets" : [{
"version": { "major": 1, "minor" : 0 },
"ids": [
"https://login.example.com",
"https://secure.example.com",
"android:apk-key-hash:585215fd5153209a7e246f53286035838a0be227"
]
}]
}
Application
|
A set of functionality provided by a common entity (the application owner), and perceived by the user as belonging together. For example, PayPal is an application that allows users to pay for stuff. |
Facets
|
An (application) facet is how an application is implemented on various platforms. For example, the application PayPal may have an Android app, an iOS app, and a Web app. These are all facets of the PayPal application. |
Facet ID
|
A platform-specific identifier (URI) for an application facet.
|
The Application ID, or AppID, is a string that declares which facets that belong to this application.
Note
|
Web facets must use HTTPS, and either use a Top-level domain or have localhost as hostname. |
If an app only has one facet the AppID can simply be the ID of that facet. For example:
https://example.com
If an app has many facets the AppID should be an HTTPS URL that resolves to a JSON list of facet IDs. For example:
https://example.com/app-id.json
…which could resolve to the following JSON content:
{
"trustedFacets" : [{
"version": { "major": 1, "minor" : 0 },
"ids": [
"https://login.example.com",
"https://secure.example.com",
"android:apk-key-hash:585215fd5153209a7e246f53286035838a0be227"
]
}]
}