Skip to content

Enhance Invalidate Token API (#35388)#36766

Merged
jkakavas merged 4 commits intoelastic:6.xfrom
jkakavas:enhance-invalidate-token-api-backport
Dec 18, 2018
Merged

Enhance Invalidate Token API (#35388)#36766
jkakavas merged 4 commits intoelastic:6.xfrom
jkakavas:enhance-invalidate-token-api-backport

Conversation

@jkakavas
Copy link
Copy Markdown
Contributor

This change:

  • Adds functionality to invalidate all (refresh+access) tokens for all users of a realm
  • Adds functionality to invalidate all (refresh+access)tokens for a user in all realms
  • Adds functionality to invalidate all (refresh+access) tokens for a user in a specific realm
  • Changes the response format for the invalidate token API to contain information about the
    number of the invalidated tokens and possible errors that were encountered.
  • Updates the API Documentation

Resolves: #35115
Relates: #34556

This change:

- Adds functionality to invalidate all (refresh+access) tokens for all users of a realm
- Adds functionality to invalidate all (refresh+access)tokens for a user in all realms
- Adds functionality to invalidate all (refresh+access) tokens for a user in a specific realm
- Changes the response format for the invalidate token API to contain information about the
   number of the invalidated tokens and possible errors that were encountered.
- Updates the API Documentation

After back-porting to 6.x, the `created` field will be removed from master as a field in the
response

Resolves: elastic#35115
Relates: elastic#34556
@jkakavas
Copy link
Copy Markdown
Contributor Author

This is the backport of #35388 and as such, no reviewers are requested

@jkakavas
Copy link
Copy Markdown
Contributor Author

18:29:58 Tests with failures:
18:29:58   - org.elasticsearch.xpack.ccr.LocalIndexFollowingIT.testFollowIndex

:(

@elasticmachine run the gradle build tests 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant