0.8.3 • Published 5 years ago

@deepvision/ssr-auth v0.8.3

Weekly downloads
74
License
SEE LICENSE IN LI...
Repository
-
Last release
5 years ago

Deepvision Auth library for projects with Server Side Rendering

Installing

To install library use:

npm install @deepvision/ssr-auth

Initializing

Import library into your script file and create auth instance with constructor.

import SSRAuth from '@deepvision/ssr-auth';


let auth = null;
if (process.browser) {
    auth = new SSRAuth({
        isBrowser: true,
        endpoint: 'api-enpoint',
    });
} else {
    auth = new SSRAuth({
        req,
        res,
        isBrowser: false,
        endpoint: 'api-enpoint',
    });
}```
0.8.3

5 years ago

0.8.2

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.3

5 years ago

0.7.2

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.5.1

6 years ago

0.4.14

6 years ago

0.4.13

6 years ago

0.4.12

6 years ago

0.4.11

6 years ago

0.4.10

6 years ago

0.4.9

6 years ago

0.4.8

6 years ago

0.4.7

6 years ago

0.4.6

6 years ago

0.4.5

6 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.1

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago