Interface IOAuthService

All Known Implementing Classes:
AbstractOAuthService, Facebook, Google, LinkedIn, Microsoft, Twitter

public interface IOAuthService
Interface implemented by the authentication service.
Author:
Christopher Mindus
  • Method Details Link icon

    • getAuthenticationProvider Link icon

      AuthenticationProvider getAuthenticationProvider()
      Gets authentication provider.
      Returns:
      The authentication provider enum.
    • getServiceName Link icon

      default String getServiceName()
      Gets the service name of the authentication provider, e.g. "LinkedIn".
      Returns:
      The name of the authentication provider service.
    • getApproximateSize Link icon

      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 Link icon

      void disposeBlocked()
      Disposes of the session because of a blocked pop-up window.
    • disposeUserCancel Link icon

      void disposeUserCancel()
      Disposes of the session because of a user cancel action.
    • dispose Link icon

      void dispose()
      Disposes of the session, i.e. can e.g. close an asynchronous client in progress.