Home | History | Annotate | Download | only in webapp

Lines Matching full:identity

7  * Wrapper class for Chrome's identity API.
19 * @type {remoting.Identity|remoting.OAuth2}
21 remoting.identity = null;
29 remoting.Identity = function(consentCallback) {
34 /** @type {Array.<remoting.Identity.Callbacks>} */
51 remoting.Identity.prototype.callWithToken = function(onOk, onError) {
52 this.pendingCallbacks_.push(new remoting.Identity.Callbacks(onOk, onError));
54 chrome.identity.getAuthToken(
69 remoting.Identity.prototype.getEmail = function(onOk, onError) {
70 /** @type {remoting.Identity} */
88 remoting.Identity.prototype.getCachedEmail = function() {
100 remoting.Identity.prototype.onAuthComplete_ = function(interactive, token) {
104 var callback = /** @type {remoting.Identity.Callbacks} */
117 var callback = /** @type {remoting.Identity.Callbacks} */
134 remoting.Identity.prototype.onAuthContinue_ = function() {
135 chrome.identity.getAuthToken(
148 remoting.Identity.Callbacks = function(onOk, onError) {
160 remoting.Identity.prototype.isAuthenticated = function() {
161 return remoting.identity.email_ != null;