Documentation

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 = ''

$callback

public mixed $callback = ''

$input

public mixed $input = \null

$clientSecret

private mixed $clientSecret = ''

$param

private mixed $param = ''

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
since
6.0
access

public

getAuthorizationURL()

Method to get the google authorication url

public getAuthorizationURL(mixed $token) : mixed
Parameters
$token : mixed
Tags
since
6.0
access

public

getAuthorizeURL()

Get the authorize URL

public getAuthorizeURL([mixed $token = '' ]) : mixed
Parameters
$token : mixed = ''
Tags
returns

a string

getClient()

Retrieves the client library

public getClient() : mixed
Tags
since
3.3.0
access

public

getDriveFiles()

Retrieves file lists from gdrive

public getDriveFiles(mixed $token[, mixed $pageToken = '' ][, mixed $search = '' ]) : mixed
Parameters
$token : mixed
$pageToken : mixed = ''
$search : mixed = ''
Tags
since
6.0
access

public

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
since
6.0
access

public

getHelper()

Method to retrieve helper class

public getHelper() : mixed
Tags
since
6.0
access

public

getLoginUrl()

public getLoginUrl() : mixed

getOauthAccessToken()

Method to get the updated access token

public getOauthAccessToken(mixed $userId) : mixed
Parameters
$userId : mixed
Tags
since
6.0
access

public

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
since
6.0
access

public

getUserInfo()

Retrieves google signed in user name

public getUserInfo(mixed $token) : mixed
Parameters
$token : mixed
Tags
since
6.0
access

public

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
since
6.0
access

public

isEnabled()

public isEnabled() : mixed

readDriveFile()

read the file content from gdrive

public readDriveFile(mixed $token, mixed $docId) : mixed
Parameters
$token : mixed
$docId : mixed
Tags
since
3.3.0
access

public

readGDriveFile()

Method to get the read a file from gdrive

public readGDriveFile(mixed $userId, mixed $docId) : mixed
Parameters
$userId : mixed
$docId : mixed
Tags
since
6.0
access

public

removeOauthAccessToken()

Method to get the delete local access token

public removeOauthAccessToken(mixed $userId) : mixed
Parameters
$userId : mixed
Tags
since
6.0
access

public

revoke()

Method to revoke user's access token

public revoke(mixed $userId) : mixed
Parameters
$userId : mixed
Tags
since
6.0
access

public

revokeAccessToken()

Revoke google access token

public revokeAccessToken(mixed $token) : mixed
Parameters
$token : mixed
Tags
since
6.0
access

public

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
Tags
since
6.0
access

public


        
On this page

Search results