npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_sso_oidc

v5.0.0

Published

DataFire integration for AWS SSO OIDC

Readme

@datafire/amazonaws_sso_oidc

Client library for AWS SSO OIDC

Installation and Usage

npm install --save @datafire/amazonaws_sso_oidc
let amazonaws_sso_oidc = require('@datafire/amazonaws_sso_oidc').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

RegisterClient

amazonaws_sso_oidc.RegisterClient({
  "clientName": "",
  "clientType": ""
}, context)

Input

  • input object
    • clientName required string: The friendly name of the client.
    • clientType required string: The type of client. The service supports only public as a client type. Anything other than public will be rejected by the service.
    • scopes array: The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.

Output

StartDeviceAuthorization

amazonaws_sso_oidc.StartDeviceAuthorization({
  "clientId": "",
  "clientSecret": "",
  "startUrl": ""
}, context)

Input

  • input object
    • clientId required string: The unique identifier string for the client that is registered with AWS SSO. This value should come from the persisted result of the RegisterClient API operation.
    • clientSecret required string: A secret string that is generated for the client. This value should come from the persisted result of the RegisterClient API operation.
    • startUrl required string: The URL for the AWS SSO user portal. For more information, see Using the User Portal in the AWS Single Sign-On User Guide.

Output

CreateToken

amazonaws_sso_oidc.CreateToken({
  "clientId": "",
  "clientSecret": "",
  "grantType": "",
  "deviceCode": ""
}, context)

Input

  • input object
    • clientId required string: The unique identifier string for each client. This value should come from the persisted result of the RegisterClient API.
    • clientSecret required string: A secret string generated for the client. This value should come from the persisted result of the RegisterClient API.
    • code string: The authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token.
    • deviceCode required string: Used only when calling this API for the device code grant type. This short-term code is used to identify this authentication attempt. This should come from an in-memory reference to the result of the StartDeviceAuthorization API.
    • grantType required string: Supports grant types for authorization code, refresh token, and device code request.
    • redirectUri string: The location of the application that will receive the authorization code. Users authorize the service to send the request to this location.
    • refreshToken string: The token used to obtain an access token in the event that the access token is invalid or expired. This token is not issued by the service.
    • scope array: The list of scopes that is defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.

Output

Definitions

AccessDeniedException

AccessToken

  • AccessToken string

AuthCode

  • AuthCode string

AuthorizationPendingException

ClientId

  • ClientId string

ClientName

  • ClientName string

ClientSecret

  • ClientSecret string

ClientType

  • ClientType string

CreateTokenRequest

  • CreateTokenRequest object
    • clientId required
    • clientSecret required
    • code
    • deviceCode required
    • grantType required
    • redirectUri
    • refreshToken
    • scope

CreateTokenResponse

  • CreateTokenResponse object
    • accessToken
    • expiresIn
    • idToken
    • refreshToken
    • tokenType

DeviceCode

  • DeviceCode string

ExpirationInSeconds

  • ExpirationInSeconds integer

ExpiredTokenException

GrantType

  • GrantType string

IdToken

  • IdToken string

InternalServerException

IntervalInSeconds

  • IntervalInSeconds integer

InvalidClientException

InvalidClientMetadataException

InvalidGrantException

InvalidRequestException

InvalidScopeException

LongTimeStampType

  • LongTimeStampType integer

RefreshToken

  • RefreshToken string

RegisterClientRequest

  • RegisterClientRequest object
    • clientName required
    • clientType required
    • scopes

RegisterClientResponse

  • RegisterClientResponse object
    • authorizationEndpoint
    • clientId
    • clientIdIssuedAt
    • clientSecret
    • clientSecretExpiresAt
    • tokenEndpoint

Scope

  • Scope string

Scopes

SlowDownException

StartDeviceAuthorizationRequest

  • StartDeviceAuthorizationRequest object
    • clientId required
    • clientSecret required
    • startUrl required

StartDeviceAuthorizationResponse

  • StartDeviceAuthorizationResponse object
    • deviceCode
    • expiresIn
    • interval
    • userCode
    • verificationUri
    • verificationUriComplete

TokenType

  • TokenType string

URI

  • URI string

UnauthorizedClientException

UnsupportedGrantTypeException

UserCode

  • UserCode string