@essential-projects/iam_contracts
Advanced tools
Comparing version 3.4.2 to 3.5.0-747da527-b3
@@ -5,3 +5,2 @@ define(["require", "exports"], function (require, exports) { | ||
}); | ||
//# sourceMappingURL=iiam_configuration.js.map | ||
//# sourceMappingURL=iiam_configuration.js.map |
@@ -5,3 +5,2 @@ define(["require", "exports"], function (require, exports) { | ||
}); | ||
//# sourceMappingURL=iiam_service.js.map | ||
//# sourceMappingURL=iiam_service.js.map |
@@ -5,3 +5,2 @@ define(["require", "exports"], function (require, exports) { | ||
}); | ||
//# sourceMappingURL=iidentity_service.js.map | ||
//# sourceMappingURL=iidentity_service.js.map |
@@ -5,3 +5,2 @@ define(["require", "exports"], function (require, exports) { | ||
}); | ||
//# sourceMappingURL=iidentity.js.map | ||
//# sourceMappingURL=iidentity.js.map |
@@ -9,3 +9,2 @@ define(["require", "exports", "./token_body"], function (require, exports, token_body_1) { | ||
}); | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=index.js.map |
define(["require", "exports"], function (require, exports) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Contains the most commonly used properties for an identities token payload. | ||
* | ||
* The property names are based on the IdentityServer's token schema. | ||
*/ | ||
class TokenBody { | ||
@@ -8,3 +13,2 @@ } | ||
}); | ||
//# sourceMappingURL=token_body.js.map | ||
//# sourceMappingURL=token_body.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=iiam_configuration.js.map | ||
//# sourceMappingURL=iiam_configuration.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=iiam_service.js.map | ||
//# sourceMappingURL=iiam_service.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=iidentity_service.js.map | ||
//# sourceMappingURL=iidentity_service.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=iidentity.js.map | ||
//# sourceMappingURL=iidentity.js.map |
@@ -7,3 +7,2 @@ "use strict"; | ||
__export(require("./token_body")); | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Contains the most commonly used properties for an identities token payload. | ||
* | ||
* The property names are based on the IdentityServer's token schema. | ||
*/ | ||
class TokenBody { | ||
} | ||
exports.TokenBody = TokenBody; | ||
//# sourceMappingURL=token_body.js.map | ||
//# sourceMappingURL=token_body.js.map |
import { IIdentity } from './iidentity'; | ||
export interface IIAMService { | ||
ensureHasClaim(identity: IIdentity, claimName: String): Promise<void>; | ||
ensureHasClaim(identity: IIdentity, claimName: string): Promise<void>; | ||
} |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "3.4.2", | ||
"version": "3.5.0-747da527-b3", | ||
"description": "the referencable contracts for iam", | ||
@@ -12,2 +12,3 @@ "license": "MIT", | ||
"typings": "dist/index.d.ts", | ||
"author": "5Minds IT-Solutions GmbH & Co. KG", | ||
"contributors": [ | ||
@@ -19,16 +20,18 @@ "Sebastian Meier <sebastian.meier@5minds.de>", | ||
"devDependencies": { | ||
"@essential-projects/tslint-config": "^1.1.3", | ||
"gulp": "^4.0.0", | ||
"gulptraum": "^3.0.0", | ||
"gulptraum-typescript": "^3.0.0", | ||
"@essential-projects/eslint-config": "^1.0.0", | ||
"@types/node": "^10.12.2", | ||
"eslint": "^5.16.0", | ||
"tsconfig": "^7.0.0", | ||
"tslint": "^5.11.0", | ||
"typescript": "^3.1.6" | ||
"typescript": "^3.4.5" | ||
}, | ||
"scripts": { | ||
"build": "gulp build", | ||
"clean": "rm -rf dist", | ||
"build": "npm run clean && npm run build-commonjs && npm run build-amd", | ||
"build-commonjs": "tsc", | ||
"build-amd": "tsc --module amd --outDir ./dist/amd", | ||
"prepare": "npm run build", | ||
"lint": "gulp lint", | ||
"test": "gulp test" | ||
"lint": "eslint src/*.ts", | ||
"lint-fix": "eslint --fix src/*.ts", | ||
"test": ":" | ||
} | ||
} |
import {IIdentity} from './iidentity'; | ||
export interface IIAMService { | ||
ensureHasClaim(identity: IIdentity, claimName: String): Promise<void>; | ||
ensureHasClaim(identity: IIdentity, claimName: string): Promise<void>; | ||
} |
@@ -7,2 +7,3 @@ /** | ||
export class TokenBody { | ||
/** | ||
@@ -20,2 +21,3 @@ * The users unique ID. | ||
public iat?: number; | ||
} |
@@ -6,12 +6,17 @@ { | ||
"compilerOptions": { | ||
"rootDir": "./src", | ||
"outDir": "./dist/commonjs", | ||
"module": "commonjs", | ||
"target": "es2017", | ||
"jsx": "react", | ||
"moduleResolution": "node", | ||
"target": "es2018", | ||
"lib": [ | ||
"es2017", | ||
"dom" | ||
"es2018" | ||
], | ||
"declaration": true, | ||
"skipLibCheck": true, | ||
"declarationDir": "./dist", | ||
"sourceMap": true, | ||
"experimentalDecorators": true | ||
} | ||
}, | ||
"include": ["src"] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8176
5
185
2