Skip to content

ServiceAuth and NullAuth #512

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

Merged
merged 2 commits into from
May 29, 2025
Merged

ServiceAuth and NullAuth #512

merged 2 commits into from
May 29, 2025

Conversation

ZenGround0
Copy link
Collaborator

Refactor pdp service to take alternate athentication and implement null authentication

@aarshkshah1992
Copy link
Collaborator

Lgtm


var _ Auth = (*NullAuth)(nil)

func (a *NullAuth) AuthService(r *http.Request) (string, error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ZenGround0 So this means auth always goes through right ? Since error is always nill

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exactly

@ZenGround0 ZenGround0 merged commit fa6911a into synapse May 29, 2025
15 checks passed
@ZenGround0 ZenGround0 deleted the feat/null-auth branch May 29, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants