Persistent login support in a hybrid application with multilogin and push notifications
AssigneeGoogle Inc.
InventorsDominic King Hay Leung, Donna Chantelle Dupuis
Life of this patent
Estimating the term…
Abstract
A system and method are disclosed that may allow a hybrid application to support persistent login, multilogin, and push notifications. User credentials may be received and utilized to obtain an access token and a refresh token. The refresh token may be stored to persistent storage and the access token may be used to obtain a browser authentication cookie from an authentication server. The web application portion of a hybrid application may be authenticated using the browser authentication cookie.
Claims26
A computer-implemented method, comprising:
- receiving at least one user credential for a first user;
- requesting, from an authentication server, an access token and a refresh token using the at least one user credential from the first user;
- storing the refresh token to persistent storage causing the refresh token to persist in a secure manner;
- issuing a request to the authentication server to exchange the access token for a browser authentication cookie;
- obtaining an application-specific cookie using the browser authentication cookie, the application-specific cookie configured to store information related to a hybrid application, the hybrid application being a native application that wraps or contains a web application;
- and
- authenticating a web application portion of the hybrid application using the browser authentication cookie.
A computer-implemented method, comprising:
- receiving a first user credential for a first user account;
- obtaining an access token and a refresh token using the first user credential;
- storing the refresh token to persistent storage;
- providing the access token to an authentication server, wherein the access token is used to obtain a browser authentication cookie;
- and
- authenticating a web application portion of a hybrid application using the browser authentication cookie, the hybrid application being a native application that wraps or contains a web application.
A system comprising:
- a storage module, for storing a browser authentication cookie;
- and
- a processor connected to the storage module, the processor configured to:
- receive a first user credential for a first user;
- obtain an access token and a refresh token using the first user credential;
- store the refresh token to a persistent storage module;
- exchange the access token for a browser authentication cookie;
- and
- authenticate a web application portion of a hybrid application using the browser application cookie, the hybrid application being a native application that wraps or contains a web application.
Dependencies are inferred from the claim text.