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
    • Method Detail

      • 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.