Package com.github.twitch4j.auth
Class TwitchAuth
java.lang.Object
com.github.twitch4j.auth.TwitchAuth
-
Constructor Summary
ConstructorDescriptionTwitchAuth
(com.github.philippheuer.credentialmanager.CredentialManager credentialManager, String clientId, String clientSecret, String redirectUrl) Twitch Identity Provider -
Method Summary
Modifier and TypeMethodDescriptioncom.github.philippheuer.credentialmanager.CredentialManager
Credential Managerstatic void
registerIdentityProvider
(com.github.philippheuer.credentialmanager.CredentialManager credentialManager, String clientId, String clientSecret, String redirectUrl, boolean useMock)
-
Constructor Details
-
TwitchAuth
public TwitchAuth(com.github.philippheuer.credentialmanager.CredentialManager credentialManager, String clientId, String clientSecret, String redirectUrl) Twitch Identity Provider- Parameters:
credentialManager
- Credential ManagerclientId
- OAuth2 Client IdclientSecret
- OAuth2 Client SecretredirectUrl
- OAuth2 Redirect Url
-
-
Method Details
-
registerIdentityProvider
-
getCredentialManager
public com.github.philippheuer.credentialmanager.CredentialManager getCredentialManager()Credential Manager
-