Class TwitchAuth

java.lang.Object
com.github.twitch4j.auth.TwitchAuth

public class TwitchAuth extends Object
  • Constructor Details

    • TwitchAuth

      public TwitchAuth(com.github.philippheuer.credentialmanager.CredentialManager credentialManager, String clientId, String clientSecret, String redirectUrl)
      Twitch Identity Provider
      Parameters:
      credentialManager - Credential Manager
      clientId - OAuth2 Client Id
      clientSecret - OAuth2 Client Secret
      redirectUrl - OAuth2 Redirect Url
  • Method Details

    • registerIdentityProvider

      public static void registerIdentityProvider(com.github.philippheuer.credentialmanager.CredentialManager credentialManager, String clientId, String clientSecret, String redirectUrl, boolean useMock)
    • getCredentialManager

      public com.github.philippheuer.credentialmanager.CredentialManager getCredentialManager()
      Credential Manager