Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Pass SakuraAPI instance to various hook functions #19

@etsuo

Description

@etsuo

functions called by AuthNativeAuthority may not have local access to an instance of SakuraAPI. This should be passed as a parameter.

It might be good to have a parameter called meta that includes SakuraAPI, but might also include other things the implementer might want access too when these hooks are called. This could be declared in the plugin initialization.

Hooks

  • onBeforeUserCreate
  • onChangePasswordEmailRequest
  • onForgotPasswordEmailRequest
  • onJWTPayloadInject
  • onLoginSuccess
  • onResendEmailConfirmation
  • onInjectCustomToken
  • onUserCreated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions