You are here

private function gapiOAuth2::base64URLEncode in Google Analytics Statistics 7.2

1 call to gapiOAuth2::base64URLEncode()
gapiOAuth2::fetchToken in includes/gapi.class.php
Authenticate Google Account with OAuth2

File

includes/gapi.class.php, line 572

Class

gapiOAuth2
OAuth2 Google API authentication

Code

private function base64URLEncode($data) {
  return rtrim(strtr(base64_encode($data), '+/', '-_'), '=');
}