Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement auth plugins #4697

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

MobiusCraftFlip
Copy link

@MobiusCraftFlip MobiusCraftFlip commented Feb 20, 2023

Implements auth plugins

example plugin:

module.exports = {
	onServerStart: (api) => {
	},
	auth: [
		{
			moduleName: "testlocal",
			auth: localAuth,
			isEnabled: () => true,

		}
	],
};

@brunnre8
Copy link
Member

Please don't do back merges, they aren't necessary.
Rebase your changes instead.

Also, do you plan to actually PR this eventually? If yes that'll need some discussion as to what your plans are, how you think the API should look etc.

@brunnre8 brunnre8 added the Status: WIP Work in progress or feature not fully fleshed out yet label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: WIP Work in progress or feature not fully fleshed out yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants