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

@adonisjs/auth

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/auth - npm Package Compare versions

Comparing version 4.2.1 to 4.2.2

4

build/adonis-typings/auth.d.ts

@@ -410,2 +410,6 @@ declare module '@ioc:Adonis/Addons/Auth' {

/**
* Generate token for a user without any verification
*/
generate(user: GetProviderRealUser<Provider>, options?: OATLoginOptions): Promise<OpaqueTokenContract<GetProviderRealUser<Provider>>>;
/**
* Login a user using their id

@@ -412,0 +416,0 @@ */

@@ -118,2 +118,6 @@ /// <reference types="@adonisjs/events/build/adonis-typings/events" />

/**
* Generate token for a user. It is merely an alias for `login`
*/
generate(user: any, options?: OATLoginOptions): Promise<any>;
/**
* Login a user

@@ -120,0 +124,0 @@ */

@@ -221,2 +221,8 @@ "use strict";

/**
* Generate token for a user. It is merely an alias for `login`
*/
async generate(user, options) {
return this.login(user, options);
}
/**
* Login a user

@@ -223,0 +229,0 @@ */

4

package.json
{
"name": "@adonisjs/auth",
"version": "4.2.1",
"version": "4.2.2",
"description": "Offical authentication provider for Adonis framework",

@@ -51,3 +51,3 @@ "types": "build/adonis-typings/index.d.ts",

"@adonisjs/hash": "^3.1.1",
"@adonisjs/lucid": "^8.2.1",
"@adonisjs/lucid": "^8.2.2",
"@adonisjs/mrm-preset": "^2.3.0",

@@ -54,0 +54,0 @@ "@adonisjs/profiler": "^3.0.4",

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