On Mon, 2013-07-29 at 20:04 +0300, Alexander Kanavin wrote:
> If it is still valid, can I force a refresh?
You can force a full re-authentication involving the browser (by
UI policy parameter to GSIGNOND_UI_POLICY_REQUEST_PASSWORD), but you
can't force a refresh using a refresh token if the existing token is
So the application should:
- request a token and try to use it
- in case of failure try to request a token again, and try to use it
again (in case the first token has expired just before using it)
- if the second token also fails, request a third token with full
re-authentication as above.
- if that fails, then give up.
If obtaining a token fails, should the app try with
GSIGNOND_UI_POLICY_REQUEST_PASSWORD if it hasn't already done that? Or
is any kind of failure to obtain a token considered fatal?
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.