← Back to team overview

ubuntu-phone team mailing list archive

Re: Usage of Online Accounts by windowless processes (account-polld, sync-monitor, scopes...)

 

On Tue, 2014-12-02 at 14:01 +0200, Alberto Mardegan wrote:

> There are a few processes which don't have a connection to Mir but are
> using OA; I know of account-polld and sync-monitor, plus the scopes via
> the unity-scopes-api, but there might be more. When these processes
> request a token and OA finds that the current token has expired, OA
> needs to popup a UI in order to obtain a new token. If the client
> process is connected to Mir (as is the case for all click apps), then OA
> opens a trusted prompt on top of the client application. But if the
> client is not connected to Mir, creating a trusted session is not possible.


What we're doing with Pay is that when we get a request from a scope
we're using the Unity Dash's PID as the place to create the trusted
session. So it just gets overlaid there.

Ted

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References