0.0.21 • Published 3 years ago
authul v0.0.21
authul
Installation
- Place the
bundled/sw.js
in a directory accessable from your front-end application - Initizlize Authul:
import {Authul} from 'authul'
const auth = new Authul({endpoint: "https://auth.example.com", clientId: "<your_client_id>", ...otherOptions })
await auth.init()
await auth.getTokens()
- Place call redirect once Authotization is completed.
In redirect.html
import {redirect} from 'authul'
redirect()
0.0.20
3 years ago
0.0.21
3 years ago
0.0.11
4 years ago
0.0.12
4 years ago
0.0.13
4 years ago
0.0.14
4 years ago
0.0.15
4 years ago
0.0.9
4 years ago
0.0.16
4 years ago
0.0.8
4 years ago
0.0.17
4 years ago
0.0.18
4 years ago
0.0.19
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago