AnswerDotAI / AnswerDotAI/ghapi

Expose token expiration date

Open
#180 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
685
Forks
70
Avg merge
1m
Merged PRs (30d)
2

Description

I tried to find a way to retrieve the auth token expiration date but I was unsuccessful to do so. If it is possible please indicate me how can I access that information, and if it's not, exposing it can be a useful addition especially for long running automation that might get interrupted on token expiry. It will allow the program to raise an alert if that date approaches.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.