org.keycloak.email

## Interface EmailProvider

- All Superinterfaces:
    Provider
  All Known Implementing Classes:
    FreeMarkerEmailProvider

      public interface EmailProvider
      extends Provider

  Author:
    Stian Thorgersen

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `sendEvent(Event event)`
    `void` | `sendPasswordReset(String link, long expirationInMinutes)`
    `void` | `sendVerifyEmail(String link, long expirationInMinutes)`
    `EmailProvider` | `setRealm(RealmModel realm)`
    `EmailProvider` | `setUser(UserModel user)`

    - ### Methods inherited from interface org.keycloak.provider.Provider

      `close`

- - ### Method Detail

    - #### setRealm

          EmailProvider setRealm(RealmModel realm)

    - #### setUser

          EmailProvider setUser(UserModel user)

    - #### sendEvent

          void sendEvent(Event event)
                         throws EmailException

      Throws:
        `EmailException`

    - #### sendPasswordReset

          void sendPasswordReset(String link,
                               long expirationInMinutes)
                                 throws EmailException

      Throws:
        `EmailException`

    - #### sendVerifyEmail

          void sendVerifyEmail(String link,
                             long expirationInMinutes)
                               throws EmailException

      Throws:
        `EmailException`

Copyright © 2014. All Rights Reserved.