Socket
Socket
Sign inDemoInstall

@octokit/auth-oauth-app

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/auth-oauth-app - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

2

dist-node/index.js

@@ -149,3 +149,3 @@ 'use strict';

const VERSION = "4.0.0";
const VERSION = "4.1.0";

@@ -152,0 +152,0 @@ function createOAuthAppAuth(options) {

@@ -1,1 +0,1 @@

export const VERSION = "4.0.0";
export const VERSION = "4.1.0";
import { OAuthAppStrategyOptions, GitHubAppStrategyOptions, OAuthAppAuthInterface, GitHubAuthInterface } from "./types";
export { OAuthAppStrategyOptions, GitHubAppStrategyOptions, AppAuthOptions, WebFlowAuthOptions, OAuthAppDeviceFlowAuthOptions, GitHubAppDeviceFlowAuthOptions, AppAuthentication, OAuthAppUserAuthentication, GitHubAppUserAuthentication, GitHubAppUserAuthenticationWithExpiration, } from "./types";
export { OAuthAppStrategyOptions, GitHubAppStrategyOptions, AppAuthOptions, WebFlowAuthOptions, OAuthAppDeviceFlowAuthOptions, GitHubAppDeviceFlowAuthOptions, OAuthAppAuthInterface, GitHubAuthInterface, AppAuthentication, OAuthAppUserAuthentication, GitHubAppUserAuthentication, GitHubAppUserAuthenticationWithExpiration, } from "./types";
export { createOAuthUserAuth } from "@octokit/auth-oauth-user";
export declare function createOAuthAppAuth(options: OAuthAppStrategyOptions): OAuthAppAuthInterface;
export declare function createOAuthAppAuth(options: GitHubAppStrategyOptions): GitHubAuthInterface;

@@ -1,1 +0,1 @@

export declare const VERSION = "4.0.0";
export declare const VERSION = "4.1.0";

@@ -60,3 +60,3 @@ import { getUserAgent } from 'universal-user-agent';

const VERSION = "4.0.0";
const VERSION = "4.1.0";

@@ -63,0 +63,0 @@ function createOAuthAppAuth(options) {

{
"name": "@octokit/auth-oauth-app",
"description": "GitHub OAuth App authentication for JavaScript",
"version": "4.0.0",
"version": "4.1.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "files": [

@@ -21,3 +21,3 @@ # auth-oauth-app.js

- [`auth(options)` or `octokit.auth(options)`](#authoptions-or-octokitauthoptions)
- [Client ID/Client Server Basic authentication](#client-idclient-server-basic-authentication)
- [Client ID/Client Secret Basic authentication](#client-idclient-server-basic-authentication)
- [OAuth web flow](#oauth-web-flow)

@@ -222,3 +222,3 @@ - [OAuth device flow](#oauth-device-flow)

factor: (options) => {
new Octokit({
return new Octokit({
authStrategy: createOAuthUserAuth,

@@ -319,3 +319,3 @@ auth: options,

### Client ID/Client Server Basic authentication
### Client ID/Client Secret Basic authentication

@@ -431,7 +431,7 @@ All REST API routes starting with `/applications/{client_id}` need to be authenticated using the OAuth/GitHub App's Client ID and a client secret.

const {
createAppAuth,
createOAuthAppAuth,
createOAuthUserAuth,
} = require("@octokit/auth-oauth-app");
const appAuth = createAppAuth({
const appAuth = createOAuthAppAuth({
clientType: "github-app",

@@ -499,3 +499,3 @@ clientId: "lv1.1234567890abcdef",

**Required**. A function that is called once the device and user codes were retrieved
**Required**. A function that is called once the device and user codes were retrieved.

@@ -1005,2 +1005,5 @@ The `onVerification()` callback can be used to pause until the user completes step 2, which might result in a better user experience.

GitHubAppDeviceFlowAuthOptions,
// auth interfaces
OAuthAppAuthInterface,
GitHubAuthInterface,
// authentication object

@@ -1007,0 +1010,0 @@ AppAuthentication,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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