Auth
Class
constructor
parent
Class
scheme
Name
strength
name
authenticate
can
Authenticate
get
Authorization
get
Protection
Space
is
Authenticated
is
Ready
update
NODE-GTK API Reference
Soup-2.4
Soup
AuthClass
Class AuthClass
Hierarchy
AuthClass
Index
Constructors
constructor
Properties
parent
Class
scheme
Name
strength
name
Methods
authenticate
can
Authenticate
get
Authorization
get
Protection
Space
is
Authenticated
is
Ready
update
Constructors
constructor
new
Auth
Class
(
)
:
Soup
.
AuthClass
Returns
Soup
.
AuthClass
Properties
parent
Class
parent
Class
:
GObject
.
ObjectClass
scheme
Name
scheme
Name
:
string
strength
strength
:
number
Static
name
name
:
string
Methods
authenticate
authenticate
(
auth
:
Soup
.
Auth
, username
:
string
, password
:
string
)
:
void
Parameters
auth:
Soup
.
Auth
username:
string
password:
string
Returns
void
can
Authenticate
can
Authenticate
(
auth
:
Soup
.
Auth
)
:
boolean
Parameters
auth:
Soup
.
Auth
Returns
boolean
get
Authorization
get
Authorization
(
auth
:
Soup
.
Auth
, msg
:
Soup
.
Message
)
:
string
Parameters
auth:
Soup
.
Auth
msg:
Soup
.
Message
Returns
string
get
Protection
Space
get
Protection
Space
(
auth
:
Soup
.
Auth
, sourceUri
:
Soup
.
URI
)
:
string
[]
Parameters
auth:
Soup
.
Auth
sourceUri:
Soup
.
URI
Returns
string
[]
is
Authenticated
is
Authenticated
(
auth
:
Soup
.
Auth
)
:
boolean
Parameters
auth:
Soup
.
Auth
Returns
boolean
is
Ready
is
Ready
(
auth
:
Soup
.
Auth
, msg
:
Soup
.
Message
)
:
boolean
Parameters
auth:
Soup
.
Auth
msg:
Soup
.
Message
Returns
boolean
update
update
(
auth
:
Soup
.
Auth
, msg
:
Soup
.
Message
, authHeader
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
)
:
boolean
Parameters
auth:
Soup
.
Auth
msg:
Soup
.
Message
authHeader:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Returns
boolean
Auth
Class
constructor
parent
Class
scheme
Name
strength
name
authenticate
can
Authenticate
get
Authorization
get
Protection
Space
is
Authenticated
is
Ready
update
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzJfNC5Tb3VwLkF1dGhDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiU291cF8yXzQuU291cC5BdXRoQ2xhc3MuaHRtbCNwYXJlbnRDbGFzcyIsIm5hbWUiOiJwYXJlbnRDbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IlNvdXBfMl80LlNvdXAuQXV0aENsYXNzLmh0bWwjc2NoZW1lTmFtZSIsIm5hbWUiOiJzY2hlbWVOYW1lIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiU291cF8yXzQuU291cC5BdXRoQ2xhc3MuaHRtbCNzdHJlbmd0aCIsIm5hbWUiOiJzdHJlbmd0aCIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkg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