Auth
Class
constructor
padding
parent_
class
scheme_
name
strength
name
authenticate
can_
authenticate
get_
authorization
get_
protection_
space
is_
authenticated
is_
ready
update
GJS API Reference
Soup-3.0
Soup
AuthClass
Class AuthClass
Hierarchy
AuthClass
Index
Constructors
constructor
Properties
padding
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
padding
padding
:
object
[]
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
, source_uri
:
GLib
.
Uri
)
:
string
[]
Parameters
auth:
Soup
.
Auth
source_uri:
GLib
.
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
, auth_header
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
)
:
boolean
Parameters
auth:
Soup
.
Auth
msg:
Soup
.
Message
auth_header:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Returns
boolean
Auth
Class
constructor
padding
parent_
class
scheme_
name
strength
name
authenticate
can_
authenticate
get_
authorization
get_
protection_
space
is_
authenticated
is_
ready
update
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzNfMC5Tb3VwLkF1dGhDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiU291cF8zXzAuU291cC5BdXRoQ2xhc3MuaHRtbCNwYWRkaW5nIiwibmFtZSI6InBhZGRpbmciLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzNfMC5Tb3VwLkF1dGhDbGFzcy5odG1sI3BhcmVudF9jbGFzcyIsIm5hbWUiOiJwYXJlbnRfY2xhc3MiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzNfMC5Tb3VwLkF1dGhDbGFzcy5odG1sI3NjaGVtZV9uYW1lIiwibmFtZSI6InNjaGVtZV9uYW1lIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta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