UNPKG
mpesa-snap
Version:
latest (1.1.1)
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Mpesa Add-on
mpesa-snap
/
lib
/
core
/
auth.d.ts
12 lines
(11 loc)
•
269 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
Enviroment
}
from
"../types"
;
type
AuthPayload
= {
consumer_key
:
string
;
consumer_secret
:
string
;
environment
:
Enviroment
;
url
?:
string
; };
export
declare
const
auth
:
(
payload
:
AuthPayload
) =>
Promise
<{
access_token
:
string
; }>;
export
{};