Breaking Changes
-
auth.tokens.createreturns aCreatedTokenandauth.tokens.refreshaRotatedToken, rather than the bare token value. Read the value from.token:token = client.auth.tokens.create("ci").token
If a refresh returns
previous_revoked=False, the old token is still live; revoke it withauth.tokens.revoke. (#7277)
Features
- Add
auth.tokens.revoke_self(), which revokes the client's own token and works with any token, andMe.app_id, the app an app token was provisioned for. (#7277)