Package com.iizix.comm.oauth
Interface IOAuthService
public interface IOAuthService
Interface implemented by the authentication service.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes of the session, i.e.void
Disposes of the session because of a blocked pop-up window.void
Disposes of the session because of a user cancel action.Gets the approximate size in pixels of the inner browser window requested.Gets authentication provider.default String
Gets the service name of the authentication provider, e.g.
Method Details
getAuthenticationProvider
AuthenticationProvider getAuthenticationProvider()Gets authentication provider.- Returns:
- The authentication provider enum.
getServiceName
Gets the service name of the authentication provider, e.g. "LinkedIn".- Returns:
- The name of the authentication provider service.
getApproximateSize
Size getApproximateSize()Gets the approximate size in pixels of the inner browser window requested. This setting used when possible, but is not guaranteed.- Returns:
- The size, or null if none is known (full screen).
disposeBlocked
void disposeBlocked()Disposes of the session because of a blocked pop-up window.disposeUserCancel
void disposeUserCancel()Disposes of the session because of a user cancel action.dispose
void dispose()Disposes of the session, i.e. can e.g. close an asynchronous client in progress.