Skip to content

Commit

Permalink
Add i18nkey as a metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasanthi Dissanayake committed Dec 2, 2023
1 parent 7d33d32 commit c16e30e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,12 @@ public String getName() {
return MagicLinkAuthenticatorConstants.AUTHENTICATOR_NAME;
}

@Override
public String getI18nKey() {

return MagicLinkAuthenticatorConstants.AUTHENTICATOR_MAGIC_LINK;
}

/**
* Method to Trigger the Magic Link event.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ private MagicLinkAuthenticatorConstants() {
}

public static final String AUTHENTICATOR_NAME = "MagicLinkAuthenticator";
public static final String AUTHENTICATOR_MAGIC_LINK = "authenticator.magic.link";
public static final String MLT = "mlt";
public static final String AUTHENTICATOR_FRIENDLY_NAME = "Magic Link";
public static final String MAGIC_LINK_NOTIFICATION_PAGE = "authenticationendpoint/magic_link_notification.do";
Expand Down

0 comments on commit c16e30e

Please sign in to comment.