SetCredentials: Fetches the GA Auth Token for a user with a password.

Description Usage Arguments Value

Description

Fetches the GA Auth Token for a user with a password. Fetches GA authentication token, which can then be used to fetch data, Technically works by submitting the information to the API and storing the account information in gtoken, we then return the 'Auth' entry token. As mentioned above we don't keep the user name or passwords for security reasons.

Usage

1
SetCredentials(user, pass)

Arguments

user

A valid user name for a GA account.

pass

A valid password for the GA account.

Value

Returns the authentication token of the users account.


noahhl/r-google-analytics documentation built on May 23, 2019, 9:29 p.m.