Documentation

HttpClientInterface
in

Http interface

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
4.0.0

Table of Contents

Methods

getAccountId()  : string|null
Get account ID
getClientId()  : string|null
Get client ID
getClientSecret()  : string|null
Get client ID
getScope()  : string|null
Get scope ID
getToken()  : string|null
Get token
getTokenExpires()  : string|null
Get token expires
getUsername()  : string|null
Get account username
hasAccountId()  : bool
Has account ID
hasClientId()  : bool
Has client ID
hasClientSecret()  : bool
Has client ID
hasScope()  : bool
Has scope ID
hasToken()  : bool
Has token
hasTokenExpires()  : bool
Has token expires
hasUsername()  : bool
Has account username
isTokenExpired()  : bool
Check if token is expired
requestToken()  : HttpClientInterface
Request token
setAccountId()  : HttpClientInterface
Set account ID
setClientId()  : HttpClientInterface
Set client ID
setClientSecret()  : HttpClientInterface
Set client secret
setScope()  : HttpClientInterface
Set scope
setToken()  : HttpClientInterface
Set token
setTokenExpires()  : HttpClientInterface
Set token expires
setUsername()  : HttpClientInterface
Set account username
verifyToken()  : bool
Verify token and refresh is expired

Methods

getAccountId()

Get account ID

public getAccountId() : string|null
Return values
string|null

getClientId()

Get client ID

public getClientId() : string|null
Return values
string|null

getClientSecret()

Get client ID

public getClientSecret() : string|null
Return values
string|null

getTokenExpires()

Get token expires

public getTokenExpires() : string|null
Return values
string|null

getUsername()

Get account username

public getUsername() : string|null
Return values
string|null

hasTokenExpires()

Has token expires

public hasTokenExpires() : bool
Return values
bool

isTokenExpired()

Check if token is expired

public isTokenExpired() : bool
Return values
bool

verifyToken()

Verify token and refresh is expired

public verifyToken() : bool
Return values
bool

        
On this page

Search results