QGIS API Documentation
3.43.0-Master (3ee7834ace6)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
Loading...
Searching...
No Matches
src
core
auth
qgsauthorizationsettings.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsauthorizationsettings.h
3
---------------------
4
begin : February 2016
5
copyright : (C) 2016 by Even Rouault
6
email : even.rouault at spatialys.com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSAUTHORIZATIONSETTINGS_H
17
#define QGSAUTHORIZATIONSETTINGS_H
18
19
#include "
qgsauthmanager.h
"
20
#include "
qgsapplication.h
"
21
#include "
qgshttpheaders.h
"
22
23
#include <QString>
24
#include <QNetworkRequest>
25
#include <QNetworkReply>
26
27
#define SIP_NO_FILE
28
35
class
CORE_EXPORT
QgsAuthorizationSettings
36
{
37
public
:
38
40
QgsAuthorizationSettings
(
const
QString &userName = QString(),
const
QString &password = QString(),
const
QgsHttpHeaders
&httpHeaders =
QgsHttpHeaders
(),
const
QString &authcfg = QString() );
41
43
bool
setAuthorization( QNetworkRequest &request )
const
;
44
46
bool
setAuthorizationReply( QNetworkReply *reply )
const
;
47
49
QString
mUserName
;
50
52
QString
mPassword
;
53
55
QgsHttpHeaders
mHttpHeaders
;
56
58
QString
mAuthCfg
;
59
};
35
class
CORE_EXPORT
QgsAuthorizationSettings
{
…
};
60
61
#endif
// QGSAUTHORIZATIONSETTINGS_H
QgsAuthorizationSettings
Utility class that contains authorization information.
Definition
qgsauthorizationsettings.h:36
QgsAuthorizationSettings::mPassword
QString mPassword
Password for basic http authentication.
Definition
qgsauthorizationsettings.h:52
QgsAuthorizationSettings::mAuthCfg
QString mAuthCfg
Authentication configuration ID.
Definition
qgsauthorizationsettings.h:58
QgsAuthorizationSettings::mUserName
QString mUserName
Username for basic http authentication.
Definition
qgsauthorizationsettings.h:49
QgsAuthorizationSettings::mHttpHeaders
QgsHttpHeaders mHttpHeaders
headers for http requests
Definition
qgsauthorizationsettings.h:55
QgsHttpHeaders
This class implements simple http header management.
Definition
qgshttpheaders.h:42
qgsapplication.h
qgsauthmanager.h
qgshttpheaders.h
Generated on Mon Mar 24 2025 21:55:38 for QGIS API Documentation by
1.9.8