Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Identity to impersonate.

Remarks

Scope argument is based on service and may change. Please refer the service documentation.

Identity is Id number of identity or Identity instance.

...

Code Block
languagets
var scopes = 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email';

var client = $Rest.Create('https://www.googleapis.com/oauth2/v2/userinfo');

var result = client.EnsureAuthenticated('Google',scopes, $Initiator).ExecuteJson();

Remarks

Scope argument is based on service and may change. Please refer the service documentation.

Identity is Id number of identity or Identity instance.

...

Code Block
languagets
var scopes = 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email';

var client = $Rest.Create('https://www.googleapis.com/oauth2/v2/userinfo');

var result = client.EnsureAuthenticated('Google',scopes, $Initiator).ExecuteJson();

Remarks

Scope argument is based on service and may change. Please refer the service documentation.

Identity is Id number of identity or Identity instance.

...