Package com.iizix.comm.oauth
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 class
IOAuthListener.Code
Enum for the authentication codes.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAuthenticationComplete(IOAuthListener.Code code)
Called when the authentication process has completed.
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.