feat: add more auth providers and cleanup google auth
it's no longer needed to use stunnel ;-)
Showing
__tests__/auth/imap.test.ts
0 → 100644
__tests__/auth/ldap.test.ts
0 → 100644
__tests__/auth/smtp.test.ts
0 → 100644
__tests__/tsconfig.json
0 → 100644
| { | ||
| "name": "radius-server", | ||
| "description": "radius server for google LDAP and TTLT", | ||
| "description": "radius server for google LDAP and TTLS", | ||
| "version": "0.0.1", | ||
| "scripts": { | ||
| "debug": "DEBUG=radius:* ../node/node dist/app.js", | ||
| "start": "../node/node dist/app.js", | ||
| "build": "tsc", | ||
| "dev": "ts-node src/app.ts", | ||
| "test-ttls-pap": "tests/eapol_test -c tests/ttls-pap.conf -s testing123", | ||
| "test": "mocha -r ts-node/register __tests__/**/*.test.ts", | ||
| "test-ttls-pap": "__tests__/eapol_test -c __tests__/ttls-pap.conf -s testing123", | ||
| "test-radtest": "radtest -x user pwd localhost 1812 testing123", | ||
| "create-certificate": "sh ./ssl/create.sh && sh ./ssl/sign.sh" | ||
| }, | ||
| "dependencies": { | ||
| "debug": "^4.1.1", | ||
| "imap-simple": "^4.3.0", | ||
| "ldapauth-fork": "^4.3.1", | ||
| "ldapjs": "^1.0.2", | ||
| "md5": "^2.2.1", | ||
| "native-duplexpair": "^1.0.0", | ||
| "node-cache": "^5.1.0", | ||
| "passport-ldapauth": "^2.1.3", | ||
| "radius": "~1.1.4", | ||
| "ts-node": "^8.6.2", | ||
| "type-cacheable": "^4.0.0", | ||
| "yargs": "~15.1.0" | ||
| "yargs": "~15.1.0", | ||
| "smtp-client": "^0.3.1" | ||
| }, | ||
| "license": "GPLv3", | ||
| "devDependencies": { | ||
| "@hokify/eslint-config": "^0.2.4", | ||
| "@types/chai": "^4.2.9", | ||
| "@types/ldapjs": "^1.0.5", | ||
| "@types/mocha": "^7.0.1", | ||
| "@types/radius": "0.0.28", | ||
| "@hokify/eslint-config": "^0.2.4", | ||
| "chai": "^4.2.0", | ||
| "eslint": "^6.8.0", | ||
| "mocha": "^7.0.1", | ||
| "prettier": "^1.19.1", | ||
| "typescript": "^3.8.2" | ||
| } | ||
| ... | ... |
src/auth.ts
0 → 100644
src/auth/IMAPAuth.ts
0 → 100644
src/auth/LDAPAuth.ts
0 → 100644
src/auth/SMTPAuth.ts
0 → 100644
src/auth/StaticAuth.ts
0 → 100644
Please register or sign in to comment