Interface IOAuthListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IOAuthListener
Interface used to listen to authentication completion, successfully or not.
Author:
Christopher Mindus
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Enum for the authentication codes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the authentication process has completed.
  • Method Details

    • onAuthenticationComplete

      void onAuthenticationComplete(IOAuthListener.Code code)
      Called when the authentication process has completed.
      Parameters:
      code - The authentication code.

      For errors, the session contains additional information that can be retrieved using com.iizix.server.oauth.OAuthSession#getErrorDescription()} and other methods.