EasyBlogClientGoogle
extends GoogleOauth
in package
Table of Contents
Properties
- $_access_token : mixed
- $app : mixed
- $callback : mixed
- $input : mixed
- $clientId : mixed
- $clientSecret : mixed
- $param : mixed
- $type : mixed
- $uid : mixed
Methods
- __construct() : mixed
- Exchanges the verifier code with the access token.
- getAccessToken() : mixed
- Exchanges the verifier code with the access token.
- getAuthorizationURL() : mixed
- Method to get the google authorication url
- getAuthorizeURL() : mixed
- Get the authorize URL
- getClient() : mixed
- Retrieves the client library
- getDriveFiles() : mixed
- Retrieves file lists from gdrive
- getGDriveFiles() : mixed
- Method to get the list of documents from gdrive
- getHelper() : mixed
- Method to retrieve helper class
- getLoginUrl() : mixed
- getOauthAccessToken() : mixed
- Method to get the updated access token
- getRequestToken() : mixed
- getReturnUrl() : mixed
- getUserDetails() : mixed
- Method to get the list of documents from gdrive
- getUserInfo() : mixed
- Retrieves google signed in user name
- importContent() : mixed
- Method to import the content as blog post
- isEnabled() : mixed
- readDriveFile() : mixed
- read the file content from gdrive
- readGDriveFile() : mixed
- Method to get the read a file from gdrive
- removeOauthAccessToken() : mixed
- Method to get the delete local access token
- revoke() : mixed
- Method to revoke user's access token
- revokeAccessToken() : mixed
- Revoke google access token
- setCallback() : mixed
- updateToken() : mixed
- Method to get the updated access token
Properties
$_access_token
public
mixed
$_access_token
= ''
$app
public
mixed
$app
= \null
$callback
public
mixed
$callback
= ''
$input
public
mixed
$input
= \null
$clientId
private
mixed
$clientId
= ''
$clientSecret
private
mixed
$clientSecret
= ''
$param
private
mixed
$param
= ''
$type
private
mixed
$type
= 'google'
$uid
private
mixed
$uid
= ''
Methods
__construct()
Exchanges the verifier code with the access token.
public
__construct() : mixed
getAccessToken()
Exchanges the verifier code with the access token.
public
getAccessToken([mixed $verifier = '' ]) : mixed
Parameters
- $verifier : mixed = ''
Tags
getAuthorizationURL()
Method to get the google authorication url
public
getAuthorizationURL(mixed $token) : mixed
Parameters
- $token : mixed
Tags
getAuthorizeURL()
Get the authorize URL
public
getAuthorizeURL([mixed $token = '' ]) : mixed
Parameters
- $token : mixed = ''
Tags
getClient()
Retrieves the client library
public
getClient() : mixed
Tags
getDriveFiles()
Retrieves file lists from gdrive
public
getDriveFiles(mixed $token[, mixed $pageToken = '' ][, mixed $search = '' ]) : mixed
Parameters
- $token : mixed
- $pageToken : mixed = ''
- $search : mixed = ''
Tags
getGDriveFiles()
Method to get the list of documents from gdrive
public
getGDriveFiles(mixed $userId[, mixed $pageToken = '' ][, mixed $search = '' ]) : mixed
Parameters
- $userId : mixed
- $pageToken : mixed = ''
- $search : mixed = ''
Tags
getHelper()
Method to retrieve helper class
public
getHelper() : mixed
Tags
getLoginUrl()
public
getLoginUrl() : mixed
getOauthAccessToken()
Method to get the updated access token
public
getOauthAccessToken(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
getRequestToken()
public
getRequestToken() : mixed
getReturnUrl()
public
getReturnUrl() : mixed
getUserDetails()
Method to get the list of documents from gdrive
public
getUserDetails(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
getUserInfo()
Retrieves google signed in user name
public
getUserInfo(mixed $token) : mixed
Parameters
- $token : mixed
Tags
importContent()
Method to import the content as blog post
public
importContent(mixed $postId, mixed $title, mixed $importStyle, mixed $content) : mixed
Parameters
- $postId : mixed
- $title : mixed
- $importStyle : mixed
- $content : mixed
Tags
isEnabled()
public
isEnabled() : mixed
readDriveFile()
read the file content from gdrive
public
readDriveFile(mixed $token, mixed $docId) : mixed
Parameters
- $token : mixed
- $docId : mixed
Tags
readGDriveFile()
Method to get the read a file from gdrive
public
readGDriveFile(mixed $userId, mixed $docId) : mixed
Parameters
- $userId : mixed
- $docId : mixed
Tags
removeOauthAccessToken()
Method to get the delete local access token
public
removeOauthAccessToken(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
revoke()
Method to revoke user's access token
public
revoke(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
revokeAccessToken()
Revoke google access token
public
revokeAccessToken(mixed $token) : mixed
Parameters
- $token : mixed
Tags
setCallback()
public
setCallback(mixed $callback) : mixed
Parameters
- $callback : mixed
updateToken()
Method to get the updated access token
public
updateToken(mixed $token) : mixed
Parameters
- $token : mixed