0.8.3 • Published 4 years ago

@deepvision/ssr-auth v0.8.3

Weekly downloads
74
License
SEE LICENSE IN LI...
Repository
-
Last release
4 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

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

5 years ago

0.5.1

5 years ago

0.4.14

5 years ago

0.4.13

5 years ago

0.4.12

5 years ago

0.4.11

5 years ago

0.4.10

5 years ago

0.4.9

5 years ago

0.4.8

5 years ago

0.4.7

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.1

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago