Interface DBusAuthObserver.OnAuthorizeAuthenticatedPeer

Enclosing class:
DBusAuthObserver
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 static interface DBusAuthObserver.OnAuthorizeAuthenticatedPeer
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Emitted to check if a peer that is successfully authenticated
    is authorized.
  • Method Details

    • onAuthorizeAuthenticatedPeer

      boolean onAuthorizeAuthenticatedPeer(@Nonnull IOStream stream, @Nullable Credentials credentials)
      Emitted to check if a peer that is successfully authenticated
      is authorized.
      Parameters:
      stream - A #GIOStream for the #GDBusConnection.
      credentials - Credentials received from the peer or %NULL.
      Returns:
      %TRUE if the peer is authorized, %FALSE if not.