Search
Preparing search index...
The search index is not available
Sociably
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Sociably
auth
AuthHttpOperator
Class AuthHttpOperator
Hierarchy
AuthHttpOperator
Index
Constructors
constructor
Properties
api
Root
Url
base
Cookie
Options
data
Cookie
Max
Age
redirect
Root
Url
refresh
Duration
secret
secure
token
Lifetime
Methods
clear
Cookies
delete
Auth
delete
Error
delete
State
get
Auth
get
Auth
Url
get
Error
get
Redirect
Url
get
State
issue
Auth
issue
Error
issue
State
redirect
sign
Token
verify
Token
Constructors
constructor
new
Auth
Http
Operator
(
options
:
OperatorOptions
)
:
AuthHttpOperator
Parameters
options:
OperatorOptions
Returns
AuthHttpOperator
Properties
api
Root
Url
api
Root
Url
:
URL
base
Cookie
Options
base
Cookie
Options
:
{
domain
?:
string
;
path
:
string
;
sameSite
:
"strict"
|
"lax"
|
"none"
;
secure
:
boolean
}
Type declaration
Optional
domain
?:
string
path
:
string
same
Site
:
"strict"
|
"lax"
|
"none"
secure
:
boolean
data
Cookie
Max
Age
data
Cookie
Max
Age
:
number
redirect
Root
Url
redirect
Root
Url
:
URL
refresh
Duration
refresh
Duration
:
number
secret
secret
:
string
secure
secure
:
boolean
token
Lifetime
token
Lifetime
:
number
Methods
clear
Cookies
clear
Cookies
(
res
:
ServerResponse
)
:
void
Parameters
res:
ServerResponse
Returns
void
delete
Auth
delete
Auth
(
res
:
ServerResponse
)
:
void
Parameters
res:
ServerResponse
Returns
void
delete
Error
delete
Error
(
res
:
ServerResponse
)
:
void
Parameters
res:
ServerResponse
Returns
void
delete
State
delete
State
(
res
:
ServerResponse
)
:
void
Parameters
res:
ServerResponse
Returns
void
get
Auth
get
Auth
<
Data
>
(
req
:
IncomingMessage
, platformAsserted
:
string
, __namedParameters
?:
{
acceptRefreshable
?:
boolean
}
)
:
Promise
<
null
|
Data
>
Type parameters
Data
Parameters
req:
IncomingMessage
platformAsserted:
string
__namedParameters:
{
acceptRefreshable
?:
boolean
}
= {}
Optional
accept
Refreshable
?:
boolean
Returns
Promise
<
null
|
Data
>
get
Auth
Url
get
Auth
Url
(
platform
:
string
, subpath
?:
string
)
:
string
Parameters
platform:
string
Optional
subpath:
string
Returns
string
get
Error
get
Error
(
req
:
IncomingMessage
, platformAsserted
:
string
)
:
Promise
<
null
|
ErrorMessage
>
Parameters
req:
IncomingMessage
platformAsserted:
string
Returns
Promise
<
null
|
ErrorMessage
>
get
Redirect
Url
get
Redirect
Url
(
path
?:
string
)
:
string
Parameters
Optional
path:
string
Returns
string
get
State
get
State
<
State
>
(
req
:
IncomingMessage
, platformAsserted
:
string
)
:
Promise
<
null
|
State
>
Type parameters
State
Parameters
req:
IncomingMessage
platformAsserted:
string
Returns
Promise
<
null
|
State
>
issue
Auth
issue
Auth
<
Data
>
(
res
:
ServerResponse
, platform
:
string
, data
:
Data
, initiateAt
?:
number
)
:
Promise
<
string
>
Type parameters
Data
Parameters
res:
ServerResponse
platform:
string
data:
Data
Optional
initiateAt:
number
Returns
Promise
<
string
>
issue
Error
issue
Error
(
res
:
ServerResponse
, platform
:
string
, code
:
number
, reason
:
string
)
:
Promise
<
string
>
Parameters
res:
ServerResponse
platform:
string
code:
number
reason:
string
Returns
Promise
<
string
>
issue
State
issue
State
<
State
>
(
res
:
ServerResponse
, platform
:
string
, state
:
State
)
:
Promise
<
string
>
Type parameters
State
Parameters
res:
ServerResponse
platform:
string
state:
State
Returns
Promise
<
string
>
redirect
redirect
(
res
:
ServerResponse
, url
?:
string
, __namedParameters
?:
{
assertInternal
?:
boolean
}
)
:
boolean
Parameters
res:
ServerResponse
Optional
url:
string
__namedParameters:
{
assertInternal
?:
boolean
}
= {}
Optional
assert
Internal
?:
boolean
Returns
boolean
sign
Token
sign
Token
(
platform
:
string
, payload
:
unknown
, options
?:
SignOptions
)
:
string
Parameters
platform:
string
payload:
unknown
Optional
options:
SignOptions
Returns
string
verify
Token
verify
Token
<
Data
>
(
assertedPlatform
:
string
, token
:
string
)
:
null
|
Data
Type parameters
Data
Parameters
assertedPlatform:
string
token:
string
Returns
null
|
Data
Modules
auth
auth/basic
Auth
auth/client
default
core
create-
app
dev-
tools
dialogflow
http
line
messenger
next
redis-
state
script
stream
telegram
twitter
websocket
webview
Auth
Http
Operator
constructor
api
Root
Url
base
Cookie
Options
data
Cookie
Max
Age
redirect
Root
Url
refresh
Duration
secret
secure
token
Lifetime
clear
Cookies
delete
Auth
delete
Error
delete
State
get
Auth
get
Auth
Url
get
Error
get
Redirect
Url
get
State
issue
Auth
issue
Error
issue
State
redirect
sign
Token
verify
Token
Generated using
TypeDoc