Socket
Socket
Sign inDemoInstall

angular-auth-oidc-client

Package Overview
Dependencies
10
Maintainers
3
Versions
177
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "angular-auth-oidc-client",
"version": "1.0.3",
"version": "1.0.4",
"description": "An OpenID Connect Implicit Flow client for Angular",

@@ -5,0 +5,0 @@ "main": "./bundles/angular-auth-oidc-client.umd.js",

@@ -18,7 +18,24 @@ # angular-auth-oidc-client

Add the npm package to your package.json
```typescript
Navigate to the level of your package.json and type
``` javascript
npm install angular-auth-oidc-client --save
```
or with yarn
``` javascript
yarn add angular-auth-oidc-client
```
or you can add the npm package to your package.json
``` javascript
"angular-auth-oidc-client": "1.0.3"
```
and type
``` javascript
npm install
```
## Using in the angular application

@@ -119,3 +136,14 @@

## Storage
For example, you can get angular-auth-oidc-client to store access tokens in Cookies by downloading and adding Cookie-Storage to your project, creating a factory method to provide it:
let cookieStorageFactory = () => {
return new CookieStorage();
}
..and then adding it to the providers array in @NgModule:
{ provide: Storage, useFactory: cookieStorageFactory }
## Example using:

@@ -122,0 +150,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc