@getalby/sdk
Preparing search index...
webln
OauthWeblnProvider
Class OauthWeblnProvider
Index
Constructors
constructor
Properties
auth
client
is
Executing
oauth
subscribers
Methods
enable
get
Info
keysend
make
Invoice
notify
on
open
Authorization
send
Payment
Constructors
constructor
new
OauthWeblnProvider
(
options
:
{
auth
:
OAuthClient
}
)
:
OauthWeblnProvider
Parameters
options
:
{
auth
:
OAuthClient
}
Returns
OauthWeblnProvider
Properties
auth
auth
:
OAuthClient
client
client
:
Client
is
Executing
isExecuting
:
boolean
oauth
oauth
:
boolean
subscribers
subscribers
:
Record
<
string
,
(
payload
:
unknown
)
=>
void
>
Methods
enable
enable
()
:
Promise
<
undefined
|
{
enabled
:
boolean
}
>
Returns
Promise
<
undefined
|
{
enabled
:
boolean
}
>
get
Info
getInfo
()
:
Promise
<
{
alias
:
string
}
>
Returns
Promise
<
{
alias
:
string
}
>
keysend
keysend
(
params
:
KeysendRequestParams
)
:
Promise
<
undefined
|
{
preimage
:
string
}
>
Parameters
params
:
KeysendRequestParams
Returns
Promise
<
undefined
|
{
preimage
:
string
}
>
make
Invoice
makeInvoice
(
params
:
RequestInvoiceArgs
,
)
:
Promise
<
undefined
|
{
paymentRequest
:
string
}
>
Parameters
params
:
RequestInvoiceArgs
Returns
Promise
<
undefined
|
{
paymentRequest
:
string
}
>
notify
notify
(
name
:
string
,
payload
?:
unknown
)
:
void
Parameters
name
:
string
Optional
payload
:
unknown
Returns
void
on
on
(
name
:
string
,
callback
:
()
=>
void
)
:
void
Parameters
name
:
string
callback
:
()
=>
void
Returns
void
open
Authorization
openAuthorization
()
:
Promise
<
unknown
>
Returns
Promise
<
unknown
>
send
Payment
sendPayment
(
invoice
:
string
)
:
Promise
<
undefined
|
{
preimage
:
string
}
>
Parameters
invoice
:
string
Returns
Promise
<
undefined
|
{
preimage
:
string
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
auth
client
is
Executing
oauth
subscribers
Methods
enable
get
Info
keysend
make
Invoice
notify
on
open
Authorization
send
Payment
@getalby/sdk
Loading...