Class AccessTokenInvalidationListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.organization.UserProfileEventListener
io.meeds.oauth.data.AccessTokenInvalidationListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class AccessTokenInvalidationListener extends org.exoplatform.services.organization.UserProfileEventListener
Listener for invalidate access token of particular user, if OAuth username of this user is changed to different value
Author:
Marek Posolda
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    AccessTokenInvalidationListener(org.exoplatform.services.organization.OrganizationService orgService, OAuthProviderTypeRegistry oauthProviderTypeRegistry, OAuthCodec oauthCodec)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    preSave(org.exoplatform.services.organization.UserProfile userProfile, boolean isNew)
     

    Methods inherited from class org.exoplatform.services.organization.UserProfileEventListener

    postDelete, postSave, preDelete

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AccessTokenInvalidationListener

      public AccessTokenInvalidationListener(org.exoplatform.services.organization.OrganizationService orgService, OAuthProviderTypeRegistry oauthProviderTypeRegistry, OAuthCodec oauthCodec)
  • Method Details

    • preSave

      public void preSave(org.exoplatform.services.organization.UserProfile userProfile, boolean isNew) throws Exception
      Overrides:
      preSave in class org.exoplatform.services.organization.UserProfileEventListener
      Throws:
      Exception