New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

yiata-oidc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yiata-oidc

This component is based on 'iodc-client' that gives the access to all information about the user and how to enter the system.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

yiata-oidc

This component is based on 'iodc-client' that gives the access to all information about the user and how to enter the system.

Installation

npm i @haftcinco/yiata-oidc --save

Module

import { OidcService } from “@haftcinco/yiata-oidc”;

yiata-oidc functions

Here are some functions in yiata-oidc functions.

FunctionDescription
loginA function to login to the site.
logoutA function to logout to the site.
revokeTo Revoke the Access Token.
getPromiseUserTo get the user's information as a promise.
getUserTo get the user's information.
isLoggedInTo show if the user has logged in(true or false).
getClaimsTo get the user's 'claim' information.
getAuthorizationHeaderValueTo get the user's 'authorization token'.
getUserBalanceTo get the user's 'balance' information.
SaveUserIpTo store the user's 'IP'.
getUserTypeScreensTo get the user's list of menu that can be used just in 'Backoffice' and 'Business'.
hasScreenAccessShows the accessibility to the menu.

Keywords

Yiata

FAQs

Package last updated on 18 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts