Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@keiser/metrics-sdk-sso-typescript

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keiser/metrics-sdk-sso-typescript

Keiser Metrics SDK

  • 5.0.34
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
0
Weekly downloads
 
Created
Source

@keiser/metrics-sdk-sso-typescript@5.0.34

Project

This SDK facilitates communication between a client system (ie: phone app, website, server) and Keiser Metrics. The SDK is written in TypeScript and supports both browser and NodeJS platforms.

Installation

Navigate to the folder of your consuming project and install with npm:

npm install @keiser/metrics-sdk-sso-typescript@5.0.34 --save

Getting Started

Please follow the installation instruction and execute the following JS code:


import { MetricsSSOApi } from '@keiser/metrics-sdk-sso-typescript';

var api = new MetricsSSOApi()

let body:MetricsSSOApiAcceptedTermsVersionShowRequest = {
  // number (optional)
  userId: 8.14,
  // string (optional)
  apiVersion: apiVersion_example,
};

try {
  const data = await api.acceptedTermsVersionShow(body);
  console.log('API called successfully. Returned data: ' + data);
} catch (error) {
  console.error(error);
}

Documentation for API Endpoints

All URIs are relative to https://metrics-api-v3.keiser.com/api

MethodHTTP requestDescription
acceptedTermsVersionShowGET /auth/accepted-terms-versionShow a user accepted terms version
acceptedTermsVersionUpdatePUT /auth/accepted-terms-versionUpdate a user accepted terms version
authConnectPOST /auth/connectConnect a user to auth using email and password
authElevatePOST /auth/elevateElevate user session to Global ACL
authExchangeFulfillmentPOST /auth/exchange/fulfillmentExchanges an authorization token for access and refresh tokens
authExchangeInitPOST /auth/exchange/initGenerate an exchange token
authFacilityWelcomeFulfillmentPOST /auth/facility/welcome/fulfillmentFulfills a facility's user creation process
authKeepAlivePOST /auth/keep-aliveKeeps a user's tokens alive
authLoginPOST /auth/loginLogin a user using email and password
authLogoutPOST /auth/logoutLogout user by blacklisting token
authResetFulfillmentPOST /auth/reset/fulfillmentFulfills a user's credential reset request
authResetRequestPOST /auth/reset/requestRequest to reset a user's credentials
authSetFacilityPOST /auth/set-facility/{facilityId}Sets the target facility for a user
authUpdatePOST /auth/updateUpdate a user's credentials
authUserInitPOST /auth/user/initInitialize a new user
authUserInitFulfillmentPOST /auth/user/init/fulfillmentFulfill a new user initialization
authValidateReturnRouteGET /auth/validate/return-routeValidates redirect url for known good routes
basicCredentialCreatePOST /auth/basic-credentialCreate auth using email and password for user
basicCredentialUpdatePOST /auth/basic-credential/updateUpdate a user's credentials
emailAddressValidationFulfillmentPOST /user/email-address/validation-fulfillment/{validationToken}Fulfills a user's email validation process
heightMeasurementCreatePOST /user/height-measurementCreate a user height measurement
oauthAuthorizePOST /oauth/authorizeAuthorizes a third party application
oauthDeauthorizeDELETE /oauth/deauthorizeDeauthorizes an oauth user
oauthInitiatePOST /oauth/initiate/{service}Initiates OAuth access request and return parameters
oauthServiceDeleteDELETE /oauth/service/{id}Delete a user's oauth service connection
oauthServiceListGET /oauth/service/listList a user's oauth service connections
oauthServiceShowGET /oauth/serviceShow a user's oauth service connection
oauthServiceSubscriptionCreatePOST /oauth/service/subscriptionCreate a oauth service subscription
oauthServiceSubscriptionDeleteDELETE /oauth/service/subscription/{id}Delete a oauth service subscription
oauthServiceSubscriptionListGET /oauth/service/subscription/listList oauth service subscriptions
oauthServiceSubscriptionShowGET /oauth/service/subscriptionShow an oauth service subscription
oauthTokenGET /oauth/tokenReturns tokens for third party oauth
profileUpdatePUT /user/profileUpdate a user profile
weightMeasurementCreatePOST /user/weight-measurementCreate a user weight measurement

Documentation for Models

Documentation for Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: Bearer authentication (JWT)

Copyright © 2020 Keiser Corporation.

The Keiser Metrics SDK source code and distributed package are made available through the MIT license.

Using any of the APIs made available through the Keiser Metrics SDK to communicate with Keiser Metrics make you subject to the following agreements. Please read all documents in their entirety as they govern your use of the APIs and Keiser Metrics servers.

FAQs

Package last updated on 22 Nov 2024

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc