#include <HttpConnect.h>
◆ Authorization() [1/3]
sptk::HttpConnect::Authorization::Authorization |
( |
const Authorization & |
other | ) |
|
|
default |
Copy constructor
- Parameters
-
◆ Authorization() [2/3]
sptk::HttpConnect::Authorization::Authorization |
( |
| ) |
|
|
protecteddelete |
◆ Authorization() [3/3]
sptk::HttpConnect::Authorization::Authorization |
( |
const String & |
method, |
|
|
const String & |
username, |
|
|
const String & |
password, |
|
|
const String & |
jwtToken |
|
) |
| |
|
explicitprotected |
Basic or Bearer authorization
- Parameters
-
method | Auth method, 'basic' or 'bearer' |
username | Username, basic authorization only |
password | Password, basic authorization only |
jwtToken | JWT token, bearer authorization only |
◆ method()
String sptk::HttpConnect::Authorization::method |
( |
| ) |
const |
|
inline |
Get authorization method name
- Returns
- authorization method name
◆ operator=()
Copy assignment
- Parameters
-
◆ value()
String sptk::HttpConnect::Authorization::value |
( |
| ) |
const |
|
inline |
Get authorization metod value
- Returns
- authorization metod value
The documentation for this class was generated from the following file: