New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-oauth2

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-oauth2 - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

3

oauth.js

@@ -16,5 +16,2 @@ import { Application, Frame } from "@nativescript/core";

TnsOAuthClientAppDelegate.setConfig(this, this.provider.options.urlScheme);
console.log("TnsOAuthLoginNativeViewController:", TnsOAuthLoginNativeViewController);
console.log("typeof TnsOAuthLoginNativeViewController:", typeof TnsOAuthLoginNativeViewController);
console.log("TnsOAuthLoginNativeViewController.initWithClient:", TnsOAuthLoginNativeViewController.initWithClient);
this.loginController = TnsOAuthLoginNativeViewController.initWithClient(this);

@@ -21,0 +18,0 @@ break;

18

package.json
{
"name": "nativescript-oauth2",
"version": "3.0.1",
"version": "3.0.2",
"description": "OAuth 2 generic authorization plugin for NativeScript that doesn't install third party native libraries",
"main": "oauth",
"typings": "index.d.ts",
"nativescript": {
"platforms": {
"android": "7.0.0",
"ios": "7.0.0"
}
},
"scripts": {

@@ -27,3 +21,3 @@ "tsc": "tsc",

"demo.ios": "npm run tsc && cd ../demo && tns run ios --emulator",
"demo.android": "npm run tsc && cd ../demo && tns run android --emulator",
"demo.android": "npm run tsc && cd ../demo && tns debug android --emulator",
"demo.ios-angular": "npm run tsc && cd ../demo-angular && tns run ios --emulator",

@@ -70,6 +64,6 @@ "demo.android-angular": "npm run tsc && cd ../demo-angular && tns run android --emulator",

"devDependencies": {
"@nativescript/core": "7.0.0",
"@nativescript/types": "7.0.0",
"@nativescript/webpack": "~3.0.0",
"typescript": "~3.9.0",
"@nativescript/core": "~7.0.13",
"@nativescript/types": "~7.0.4",
"@nativescript/webpack": "~3.0.8",
"typescript": "4.0.5",
"prompt": "^1.0.0",

@@ -76,0 +70,0 @@ "rimraf": "^2.6.2",

@@ -9,2 +9,3 @@ export class TnsOaProviderMicrosoft {

this.tokenEndpoint = "/oauth2/v2.0/token";
this.endSessionEndpoint = '/oauth2/v2.0/logout';
this.cookieDomains = ["login.microsoftonline.com", "live.com"];

@@ -11,0 +12,0 @@ this.options = options;

@@ -35,3 +35,3 @@ import { getCodeVerifier, sha256base64encoded } from "./pkce-util";

if (this.authState.isLogout &&
url === this.client.provider.options.redirectUri) {
url.startsWith(this.client.provider.options.redirectUri)) {
this.client.logout();

@@ -38,0 +38,0 @@ completion(undefined);

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

var _a;
import { Application, Color } from "@nativescript/core";

@@ -7,4 +8,3 @@ import { TnsOAuthLoginSubController, } from "./tns-oauth-login-sub-controller";

const customtabs = useAndroidX()
? androidx.browser.customtabs
: android.support.customtabs;
? (_a = androidx.browser) === null || _a === void 0 ? void 0 : _a.customtabs : android.support.customtabs;
export class TnsOAuthLoginNativeViewController {

@@ -11,0 +11,0 @@ constructor() {

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