public class FreeMarkerEmailProvider extends Object implements EmailProvider
Constructor and Description |
---|
FreeMarkerEmailProvider(KeycloakSession session,
FreeMarkerUtil freeMarker) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
sendEvent(Event event) |
void |
sendPasswordReset(String link,
long expirationInMinutes) |
void |
sendVerifyEmail(String link,
long expirationInMinutes) |
EmailProvider |
setRealm(RealmModel realm) |
EmailProvider |
setUser(UserModel user) |
public FreeMarkerEmailProvider(KeycloakSession session, FreeMarkerUtil freeMarker)
public EmailProvider setRealm(RealmModel realm)
setRealm
in interface EmailProvider
public EmailProvider setUser(UserModel user)
setUser
in interface EmailProvider
public void sendEvent(Event event) throws EmailException
sendEvent
in interface EmailProvider
EmailException
public void sendPasswordReset(String link, long expirationInMinutes) throws EmailException
sendPasswordReset
in interface EmailProvider
EmailException
public void sendVerifyEmail(String link, long expirationInMinutes) throws EmailException
sendVerifyEmail
in interface EmailProvider
EmailException
Copyright © 2014. All Rights Reserved.