Klasse PubSubAuthRevokeEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.pubsub.events.PubSubAuthRevokeEvent
- Alle implementierten Schnittstellen:
com.github.philippheuer.events4j.api.domain.IEvent
Fired when a user access token had outstanding PubSub subscriptions, but was revoked.
An authorization can be revoked at any time for a number of reasons, such a user disconnecting from an app through Connections Settings.
Topics associated with the authorization will automatically be unlistened to.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPubSubAuthRevokeEvent(ITwitchPubSub socket, @NotNull Map<@NotNull String, @Nullable PubSubRequest> revokedListensByTopic) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanMappings of revoked topic names to the associatedPubSubRequest(LISTEN).The PubSub websocket that was subscribed to these revoked topics.inthashCode()toString()Von Klasse geerbte Methoden com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Konstruktordetails
-
PubSubAuthRevokeEvent
public PubSubAuthRevokeEvent(ITwitchPubSub socket, @NotNull @NotNull Map<@NotNull String, @Nullable PubSubRequest> revokedListensByTopic)
-
-
Methodendetails
-
getTopicNames
- Gibt zurück:
- the topics that were revoked (including the user id's)
-
getSocket
The PubSub websocket that was subscribed to these revoked topics. -
getRevokedListensByTopic
Mappings of revoked topic names to the associatedPubSubRequest(LISTEN).Warning: Values can be null if you manually call
ITwitchPubSub.listenOnTopic(PubSubRequest)orITwitchPubSub.listenOnTopic(PubSubType, OAuth2Credential, Collection)with requests that contain more than one topic in a singlePubSubType.LISTEN. -
toString
- Setzt außer Kraft:
toStringin KlasseTwitchEvent
-
equals
- Setzt außer Kraft:
equalsin KlasseTwitchEvent
-
canEqual
- Setzt außer Kraft:
canEqualin KlasseTwitchEvent
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseTwitchEvent
-