event/TokensRevokedEvent.java

java-slack-sdk · slack-api-model/src/main/java/com/slack/api/model/event/TokensRevokedEvent.java · java · MIT
auth, Auth / Identity

TokensRevokedEvent.java from slackapi/java-slack-sdk

// Source: https://github.com/slackapi/java-slack-sdk | License: MIT | Copyright 2020 -      Slack Technologies, LLC
// Provided via justclaw.it.com; keep this notice with the code.
package com.slack.api.model.event;

import lombok.Data;

import java.util.List;

/**
 * When your app's API tokens are revoked, the tokens_revoked event is sent via the Events API to your app if it is subscribed.
 * <p>
 * The example above details the complete Events API payload, including the event wrapper.
 * Use the team_id to identify the associated workspace.
 * <p>
 * The inner event's tokens field is a hash keyed with the types of revoked tokens.
 * oauth tokens are user-based tokens negotiated with OAuth or app installation,
 * typically beginning with xoxp-. bot tokens are also negotiated in that proc

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key