Documentation

AuthInterface

Azure storage auth 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
2.0.0

Table of Contents

Methods

getAccountKey()  : string|null
Get account key
getAccountName()  : string|null
Get account name
getAuthorizationHeader()  : string
Returns authorization header to be included in the request.
getBaseUri()  : string
Get account key
hasAccountKey()  : bool
Has account key
hasAccountName()  : bool
Has account name
setAccountKey()  : AuthInterface
Set account key
setAccountName()  : AuthInterface
Set account name
signRequest()  : Request
Adds authentication header to the request headers.

Methods

getAccountKey()

Get account key

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

getAccountName()

Get account name

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

getAuthorizationHeader()

Returns authorization header to be included in the request.

public getAuthorizationHeader(array<string|int, mixed> $headers, string $url, array<string|int, mixed> $queryParams, string $httpMethod) : string
Parameters
$headers : array<string|int, mixed>
$url : string
$queryParams : array<string|int, mixed>
$httpMethod : string
Return values
string

getBaseUri()

Get account key

public getBaseUri() : string
Return values
string

hasAccountKey()

Has account key

public hasAccountKey() : bool
Return values
bool

hasAccountName()

Has account name

public hasAccountName() : bool
Return values
bool

        
On this page

Search results