Skip to content

refactor: use @auth_script MASM attribute instead of auth_ prefix#2534

Merged
mmagician merged 2 commits intonextfrom
ajl-auth-masm-attribute
Mar 2, 2026
Merged

refactor: use @auth_script MASM attribute instead of auth_ prefix#2534
mmagician merged 2 commits intonextfrom
ajl-auth-masm-attribute

Conversation

@partylikeits1983
Copy link
Contributor

This PR replaces the convention of detecting authentication procedures by their auth_ name prefix with the @auth_script MASM attribute. This is consistent with the existing @note_script attribute pattern and follows the naming convention suggested for consistency (auth_script / note_script).

Resolves: #2501

@partylikeits1983 partylikeits1983 marked this pull request as ready for review March 2, 2026 14:35
@partylikeits1983 partylikeits1983 added standards Related to standard note scripts or account components pr-from-maintainers PRs that come from internal contributors or integration partners. They should be given priority labels Mar 2, 2026
@partylikeits1983 partylikeits1983 self-assigned this Mar 2, 2026
@partylikeits1983 partylikeits1983 changed the title refactor: use @auth_script MASM attribute instead of auth_ prefix refactor: use @auth_script MASM attribute instead of auth_ prefix Mar 2, 2026
Copy link
Contributor

@PhilippGackstatter PhilippGackstatter left a comment

Choose a reason for hiding this comment

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

Looks good to me!

If/Once we have an AccountAuthComponent, we should check that it has that attribute, but that's for the future.

Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you!

Copy link
Collaborator

@mmagician mmagician left a comment

Choose a reason for hiding this comment

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

LGTM, I'll merge so that we get this into alpha

@mmagician mmagician merged commit d2844ac into next Mar 2, 2026
19 checks passed
@mmagician mmagician deleted the ajl-auth-masm-attribute branch March 2, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-from-maintainers PRs that come from internal contributors or integration partners. They should be given priority standards Related to standard note scripts or account components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove usage of auth_ prefix and replace with masm attribute

4 participants