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

@azure/functions

Package Overview
Dependencies
Maintainers
7
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/functions - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

_manifest/manifest.json

39

index.d.ts

@@ -111,2 +111,31 @@ // Copyright (c) .NET Foundation. All rights reserved.

/**
* Object representing logged-in user, either through
* AppService/Functions authentication, or SWA Authentication
*/
export interface HttpRequestUser {
/**
* Type of authentication, either AppService or StaticWebApps
*/
type: HttpRequestUserType;
/**
* unique user GUID
*/
id: string;
/**
* unique username
*/
username: string;
/**
* provider of authentication service
*/
identityProvider: string;
/**
* Extra authentication information, dependent on auth type
* and auth provider
*/
claimsPrincipalData: {
[key: string]: any;
};
}
/**
* HTTP request object. Provided to your function when using HTTP Bindings.

@@ -136,2 +165,8 @@ */

/**
* Object representing logged-in user, either through
* AppService/Functions authentication, or SWA Authentication
* null when no such user is logged in.
*/
user: HttpRequestUser | null;
/**
* The HTTP request body.

@@ -150,2 +185,6 @@ */

/**
* Possible values for an HTTP Request user type
*/
export type HttpRequestUserType = 'AppService' | 'StaticWebApps';
/**
* Http response cookie object to "Set-Cookie"

@@ -152,0 +191,0 @@ */

2

package.json
{
"name": "@azure/functions",
"version": "3.0.0",
"version": "3.1.0",
"description": "Azure Functions types for Typescript",

@@ -5,0 +5,0 @@ "repository": {

@@ -0,0 +0,0 @@ # Type definitions for Azure Functions

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