Class AppInstallationAuthorizationProviderTest


public class AppInstallationAuthorizationProviderTest extends AbstractGHAppInstallationTest
The Class AppInstallationAuthorizationProviderTest.
  • Constructor Details

    • AppInstallationAuthorizationProviderTest

      public AppInstallationAuthorizationProviderTest()
      Instantiates a new org app installation authorization provider test.
  • Method Details

    • invalidJWTTokenRaisesException

      public void invalidJWTTokenRaisesException() throws IOException
      Invalid JWT token raises exception.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • validJWTTokenAllowsOauthTokenRequest

      public void validJWTTokenAllowsOauthTokenRequest() throws IOException
      Valid JWT token allows oauth token request.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • validJWTTokenWhenLookingUpAppById

      public void validJWTTokenWhenLookingUpAppById() throws IOException
      Lookup of an app by id works as expected
      Throws:
      IOException - Signals that an I/O exception has occurred.