AuthAdapter
Class AuthAdapter
Table of Contents
Methods
- __construct() : mixed
- AuthAdapter constructor.
- create() : AuthAdapter
- getAuthUrl() : string
- getToken() : mixed|null
- getType() : mixed
- hasAuth() : bool
- removeAuth() : mixed
- setParameters() : $this
- setService() : $this
Methods
__construct()
AuthAdapter constructor.
public
__construct(mixed $type) : mixed
Parameters
- $type : mixed
create()
public
static create(mixed $type[, IService|null $service = null ]) : AuthAdapter
Parameters
- $type : mixed
- $service : IService|null = null
Tags
Return values
AuthAdaptergetAuthUrl()
public
getAuthUrl() : string
Tags
Return values
stringgetToken()
public
getToken() : mixed|null
Return values
mixed|nullgetType()
public
getType() : mixed
hasAuth()
public
hasAuth() : bool
Return values
boolremoveAuth()
public
removeAuth() : mixed
setParameters()
public
setParameters([array<string|int, mixed> $parameters = [] ]) : $this
Parameters
- $parameters : array<string|int, mixed> = []
Return values
$thissetService()
public
setService(IService $service) : $this
Parameters
- $service : IService