Interface AppInstallationAuthorizationProvider.AppInstallationProvider

  • Enclosing class:
    AppInstallationAuthorizationProvider
    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 AppInstallationAuthorizationProvider.AppInstallationProvider
    Provides an interface that returns an app to be used by an AppInstallationAuthorizationProvider
    • Method Detail

      • getAppInstallation

        GHAppInstallation getAppInstallation​(GHApp app)
                                      throws IOException
        Provides a GHAppInstallation for the given GHApp
        Parameters:
        app - The GHApp to use
        Returns:
        The GHAppInstallation
        Throws:
        IOException - on error