SolidAuthorization

The Intent protocol between the client SDK's authorization contract and the host's consent activity, which the SDK reaches through com.erfangholami.androidsolidservices.shared.host.SolidHostContract.ACTION_AUTHORIZE.

The activity is launched for result from the calling app's own foreground — that is the point of the flow: no UI is ever drawn from a background service, so no overlay permission is involved, and getCallingPackage() gives the consent screen a caller identity it can trust.

In: EXTRA_ACCESS_REQUEST, an com.erfangholami.androidsolidservices.shared.model.grant.AccessRequest; when absent the host starts from AccessRequest.DEFAULT.

Results:

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val EXTRA_GRANT: String
Link copied to clipboard
const val EXTRA_WEB_ID: String
Link copied to clipboard
const val RESULT_ERROR: Int = 1

Activity.RESULT_FIRST_USER — distinct from both OK and CANCELED.